mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-16 05:03:11 +08:00
Update button-story.ts.mdx
The type on Primary was not working so I changed it.
This commit is contained in:
parent
c739d024f6
commit
658877265b
@ -18,7 +18,7 @@ export default meta;
|
||||
* See https://storybook.js.org/docs/html/api/csf
|
||||
* to learn how to use render functions.
|
||||
*/
|
||||
export const Primary: Story = {
|
||||
export const Primary: StoryObj = {
|
||||
render: () => {
|
||||
const btn = document.createElement('button');
|
||||
btn.innerText = 'Button';
|
||||
|
Loading…
x
Reference in New Issue
Block a user