diff --git a/src/pages/components/modal/code.mdx b/src/pages/components/modal/code.mdx index e6d1a135afb..7004b3b8db3 100755 --- a/src/pages/components/modal/code.mdx +++ b/src/pages/components/modal/code.mdx @@ -60,6 +60,14 @@ documentation, see the Storybooks for each framework below. id: 'scrolling-content', label: 'With scrolling content', }, + { + id: 'with-one-button', + label: 'With one button', + }, + { + id: 'with-three-buttons', + label: 'With three buttons', + }, ]}> +`} + {` + +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse cursus fermentum risus, sit amet fringilla nunc pellentesque quis. Duis quis odio ultrices, cursus lacus ac, posuere felis. Donec dignissim libero in augue mattis, a molestie metus vestibulum. Aliquam placerat felis ultrices lorem condimentum, nec ullamcorper felis porttitor.

+
+`}
+ {` + {}, + }, + { + buttonText: 'Rename', + onClick: () => {}, + } + ] + } + > +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse cursus fermentum risus, sit amet fringilla nunc pellentesque quis. Duis quis odio ultrices, cursus lacus ac, posuere felis. Donec dignissim libero in augue mattis, a molestie metus vestibulum. Aliquam placerat felis ultrices lorem condimentum, nec ullamcorper felis porttitor.

+
`}
diff --git a/src/pages/components/modal/usage.mdx b/src/pages/components/modal/usage.mdx index 4254a09191c..32cf2d00127 100755 --- a/src/pages/components/modal/usage.mdx +++ b/src/pages/components/modal/usage.mdx @@ -81,6 +81,14 @@ destructive or irreversible then use a transactional danger modal. id: 'scrolling-content', label: 'With scrolling content', }, + { + id: 'with-one-button', + label: 'With one button', + }, + { + id: 'with-three-buttons', + label: 'With three buttons', + }, ]}> +`} + {` + +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse cursus fermentum risus, sit amet fringilla nunc pellentesque quis. Duis quis odio ultrices, cursus lacus ac, posuere felis. Donec dignissim libero in augue mattis, a molestie metus vestibulum. Aliquam placerat felis ultrices lorem condimentum, nec ullamcorper felis porttitor.

+
+`}
+ {` + {}, + }, + { + buttonText: 'Rename', + onClick: () => {}, + } + ] + } + > +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse cursus fermentum risus, sit amet fringilla nunc pellentesque quis. Duis quis odio ultrices, cursus lacus ac, posuere felis. Donec dignissim libero in augue mattis, a molestie metus vestibulum. Aliquam placerat felis ultrices lorem condimentum, nec ullamcorper felis porttitor.

+
`}