Skip to content

Commit

Permalink
Merge pull request #244 from MetroStar/site-alert-story-fix
Browse files Browse the repository at this point in the history
Update site alert story to provide body
  • Loading branch information
jbouder authored Aug 22, 2024
2 parents a29084b + 7221a5f commit 1ea2d04
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ const meta: Meta<typeof SiteAlert> = {
};
export default meta;

const Template: StoryFn<typeof SiteAlert> = (args: SiteAlertProps) => <SiteAlert {...args} />;
const Template: StoryFn<typeof SiteAlert> = (args: SiteAlertProps) => (
<SiteAlert {...args}>This is the alert body</SiteAlert>
);

export const Default = Template.bind({});
Default.args = {
Expand Down

0 comments on commit 1ea2d04

Please sign in to comment.