From e8045e7c8bb733a53f92b8767708a1303d2a9dd2 Mon Sep 17 00:00:00 2001 From: Ederson Lucas Date: Sun, 16 Apr 2023 23:34:41 -0300 Subject: [PATCH 1/2] docs: adds defaultValue of tooltip direction to documentation --- .changeset/silent-dragons-train.md | 5 +++++ src/Tooltip.docs.json | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/silent-dragons-train.md diff --git a/.changeset/silent-dragons-train.md b/.changeset/silent-dragons-train.md new file mode 100644 index 00000000000..e3396a320fe --- /dev/null +++ b/.changeset/silent-dragons-train.md @@ -0,0 +1,5 @@ +--- +'@primer/react': minor +--- + +adds `defaultValue` of `tooltip direction` to documentation diff --git a/src/Tooltip.docs.json b/src/Tooltip.docs.json index d4b88a8c6ec..3fd7e5d6c69 100644 --- a/src/Tooltip.docs.json +++ b/src/Tooltip.docs.json @@ -12,6 +12,7 @@ { "name": "direction", "type": "'n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w' | 'nw'", + "defaultValue": "n", "description": "Sets where the tooltip renders in relation to the target." }, { From 49237420e33775e9eed3303a9753882b94aee4cf Mon Sep 17 00:00:00 2001 From: Ederson Lucas Date: Mon, 17 Apr 2023 00:26:51 -0300 Subject: [PATCH 2/2] remove the changeset --- .changeset/silent-dragons-train.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changeset/silent-dragons-train.md diff --git a/.changeset/silent-dragons-train.md b/.changeset/silent-dragons-train.md deleted file mode 100644 index e3396a320fe..00000000000 --- a/.changeset/silent-dragons-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -adds `defaultValue` of `tooltip direction` to documentation