diff --git a/src/docs-components/ButtonDocs/ButtonDocs.tsx b/src/docs-components/ButtonDocs/ButtonDocs.tsx index 5ab0b0ed..60787acb 100644 --- a/src/docs-components/ButtonDocs/ButtonDocs.tsx +++ b/src/docs-components/ButtonDocs/ButtonDocs.tsx @@ -32,7 +32,7 @@ export const ButtonDocs: FC = () => ( <> {variants.map((variant) => ( - + {startCase(variant)} {getButtonAppearances(variant).map((appearance) => ( diff --git a/src/docs-components/CounterDocs.tsx b/src/docs-components/CounterDocs.tsx index a9f49a8b..5941685d 100644 --- a/src/docs-components/CounterDocs.tsx +++ b/src/docs-components/CounterDocs.tsx @@ -19,7 +19,7 @@ const appearances = [ export const CounterDocs = () => ( <> {emphases.map((emphasis) => ( - + {capitalize(emphasis)} Emphasis diff --git a/src/docs-components/InlineMessageDocs.tsx b/src/docs-components/InlineMessageDocs.tsx index b26f2e1a..648213dd 100644 --- a/src/docs-components/InlineMessageDocs.tsx +++ b/src/docs-components/InlineMessageDocs.tsx @@ -11,13 +11,13 @@ const intents = ['informative', 'success', 'warning', 'negative'] as const; export const InlineMessageDocs = () => ( <> {intents.map((intent) => ( - - + + Intent: {capitalize(intent)} - + Description: Yes ( /> - + Description: No