From f3db348ded5f538f5c3ffc148e0492f93365ea16 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Thu, 31 Oct 2024 16:51:55 +0900 Subject: [PATCH] Fixup to prevent merging consecutive lists --- packages/components/src/button/README.md | 10 ++++++---- packages/components/src/button/types.ts | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/packages/components/src/button/README.md b/packages/components/src/button/README.md index 4c5254fe91549b..99a6d0f9c24cfb 100644 --- a/packages/components/src/button/README.md +++ b/packages/components/src/button/README.md @@ -182,10 +182,12 @@ If provided with `href`, sets the `target` attribute to the `a`. Specifies the button's style. -- `'primary'` (the primary button styles) -- `'secondary'` (the default button styles) -- `'tertiary'` (the text-based button styles) -- `'link'` (the link button styles) +The accepted values are: + +1. `'primary'` (the primary button styles) +2. `'secondary'` (the default button styles) +3. `'tertiary'` (the text-based button styles) +4. `'link'` (the link button styles) - Type: `"link" | "primary" | "secondary" | "tertiary"` - Required: No diff --git a/packages/components/src/button/types.ts b/packages/components/src/button/types.ts index ff11e858ae8aca..d730f49b1e8138 100644 --- a/packages/components/src/button/types.ts +++ b/packages/components/src/button/types.ts @@ -112,10 +112,12 @@ type BaseButtonProps = { /** * Specifies the button's style. * - * - `'primary'` (the primary button styles) - * - `'secondary'` (the default button styles) - * - `'tertiary'` (the text-based button styles) - * - `'link'` (the link button styles) + * The accepted values are: + * + * 1. `'primary'` (the primary button styles) + * 2. `'secondary'` (the default button styles) + * 3. `'tertiary'` (the text-based button styles) + * 4. `'link'` (the link button styles) */ variant?: 'primary' | 'secondary' | 'tertiary' | 'link'; };