From 5e3c0e3867c832edab115fe1ca049dbaf84ee05e Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Tue, 20 Jun 2023 20:13:12 +0100 Subject: [PATCH] Merge pull request #23158 from jared-christensen/patch-1 Update button-story.ts.mdx (cherry picked from commit 6c0a764fb102eb0ec8b0f7ce788a21b62a446c9d) --- 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 42cf5f06cc3d..4a48ff30739d 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';