Skip to content

Commit

Permalink
feat: [#184606376] added alert variant for notes to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
adidner committed Oct 16, 2023
1 parent b965b0a commit d3654ee
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ComponentMeta, ComponentStory } from "@storybook/react";
import { withDesign } from "storybook-addon-designs";

export default {
title: "WIP/Alerts/DefaultAlerts",
title: "Molecules/Alerts",
component: Alert,
decorators: [withDesign, (story) => <div className="border width-tablet">{story()}</div>],
parameters: {
Expand Down Expand Up @@ -42,3 +42,11 @@ SuccessAlert.args = {
...defaultArgs,
variant: "success",
};

export const NoteAlert = Template.bind({});
NoteAlert.args = {
...defaultArgs,
variant: "note",
borderRight: true,
borderSmall: true,
};

0 comments on commit d3654ee

Please sign in to comment.