Skip to content

Commit

Permalink
fixed live demo tags in usage and code (#4143)
Browse files Browse the repository at this point in the history
* fixed live demo tags in usage and code

* fix: add unstable in label

---------

Co-authored-by: Alison Joseph <[email protected]>
  • Loading branch information
preetibansalui and alisonjoseph authored Jul 8, 2024
1 parent c034a01 commit 4ccd362
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
16 changes: 14 additions & 2 deletions src/pages/components/tag/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,20 @@ documentation, see the Storybooks for each framework below.
url="https://react.carbondesignsystem.com"
variants={[
{
label: 'Default',
variant: 'components-tag--default',
label: 'Read-only',
variant: 'components-tag--read-only',
},
{
label: 'Dismissible (unstable)',
variant: 'experimental-unstable-interactivetag--dismissible',
},
{
label: 'Selectable (unstable)',
variant: 'experimental-unstable-interactivetag--selectable',
},
{
label: 'Operational (unstable)',
variant: 'experimental-unstable-interactivetag--operational',
},
{
label: 'With AI slug',
Expand Down
14 changes: 13 additions & 1 deletion src/pages/components/tag/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,21 @@ to the filter prop and will eventually replace the prop in v12.
url="https://react.carbondesignsystem.com"
variants={[
{
label: 'ReadOnly',
label: 'Read-only',
variant: 'components-tag--read-only',
},
{
label: 'Dismissible (unstable)',
variant: 'experimental-unstable-interactivetag--dismissible',
},
{
label: 'Selectable (unstable)',
variant: 'experimental-unstable-interactivetag--selectable',
},
{
label: 'Operational (unstable)',
variant: 'experimental-unstable-interactivetag--operational',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--tag',
Expand Down

0 comments on commit 4ccd362

Please sign in to comment.