diff --git a/.changeset/stale-hotels-jump.md b/.changeset/stale-hotels-jump.md new file mode 100644 index 0000000..30c3372 --- /dev/null +++ b/.changeset/stale-hotels-jump.md @@ -0,0 +1,5 @@ +--- +"@openfun/cunningham-react": patch +--- + +migrate ArgsTable to ArgTypes and rework imports diff --git a/packages/react/src/components/Button/index.mdx b/packages/react/src/components/Button/index.mdx index b96f4d8..e0fb15e 100644 --- a/packages/react/src/components/Button/index.mdx +++ b/packages/react/src/components/Button/index.mdx @@ -1,4 +1,4 @@ -import { Canvas, Meta, Story, Source, ArgsTable } from '@storybook/addon-docs'; +import { Canvas, Meta, Story, Source, ArgTypes } from '@storybook/blocks'; import { Button } from "./index"; import * as Stories from './index.stories'; @@ -56,7 +56,7 @@ The button can be disabled. The disabled button will render the same no matter w You can use all the props of the native html `