diff --git a/.changeset/nice-garlics-dance.md b/.changeset/nice-garlics-dance.md new file mode 100644 index 0000000..1ce19e3 --- /dev/null +++ b/.changeset/nice-garlics-dance.md @@ -0,0 +1,5 @@ +--- +"@openfun/cunningham-react": minor +--- + +add fullWidth props to Button diff --git a/packages/react/src/components/Button/index.mdx b/packages/react/src/components/Button/index.mdx index e0fb15e..ab94249 100644 --- a/packages/react/src/components/Button/index.mdx +++ b/packages/react/src/components/Button/index.mdx @@ -52,6 +52,17 @@ The button can be disabled. The disabled button will render the same no matter w +## Full width + +The button can be set to full width. You can use the `fullWidth` prop to do so. + + + + + + + + ## Props You can use all the props of the native html `