From 658877265bcd5f55091f84e8c55eebdeeee29b15 Mon Sep 17 00:00:00 2001 From: Jared Christensen Date: Tue, 20 Jun 2023 13:28:03 -0500 Subject: [PATCH] Update button-story.ts.mdx The type on Primary was not working so I changed it. --- docs/snippets/html/button-story.ts.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/snippets/html/button-story.ts.mdx b/docs/snippets/html/button-story.ts.mdx index 42cf5f06cc3..4a48ff30739 100644 --- a/docs/snippets/html/button-story.ts.mdx +++ b/docs/snippets/html/button-story.ts.mdx @@ -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';