Skip to content

Commit

Permalink
add Em docs (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
robphoenix authored Dec 17, 2024
1 parent 2409a2f commit 393cec4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Badge/Badge.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The `bottomRadiusZero` will remove the `border-bottom-right-radius` and `border-

## API

This component is based on the `a` element.
This component is based on the `span` element.

| Prop | Type | Description | Default |
| ------------------ | -------------------------------------------- | ------------------------------------------------------------------------------------ | -------- |
Expand Down
17 changes: 17 additions & 0 deletions packages/react/src/components/Em/Em.docs.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Meta, Canvas, ArgTypes } from '@storybook/blocks';

import * as Stories from './Em.stories';

import { DocsHeader } from '../../storybook/DocsHeader';

<Meta title="Components / Em" />

<DocsHeader componentName="Em" stories={Stories} />

<Canvas of={Stories.KitchenSink} sourceState="none" />

<ArgTypes of={Stories} />

## API

This component is based on the `em` element.

0 comments on commit 393cec4

Please sign in to comment.