Skip to content

Commit

Permalink
docs(Slug): add slug to controls table
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Dec 7, 2023
1 parent a17561f commit fe62de0
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions packages/react/src/components/Slug/Slug-examples.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,12 @@ export const _Combobox = {
};

export const _ComposedModal = {
args: args,
argTypes: argTypes,
argTypes: {
slug: {
description:
'**Experimental**: Provide a `Slug` component to be rendered inside the component',
},
},
render: () => (
<div className="slug-modal">
<ComposedModal slug={slug} open>
Expand Down Expand Up @@ -372,8 +376,12 @@ export const _FilterableMultiselect = {
};

export const _Modal = {
args: args,
argTypes: argTypes,
argTypes: {
slug: {
description:
'**Experimental**: Provide a `Slug` component to be rendered inside the component',
},
},
render: () => (
<div className="slug-modal">
<Modal
Expand Down

0 comments on commit fe62de0

Please sign in to comment.