Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bd9683

Browse files
committed
Add alert banner story
1 parent c06765b commit 6bd9683

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

site/src/components/AlertBanner/AlertBanner.stories.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,9 @@ ErrorWithActionRetryAndDismiss.args = {
9999
dismissible: true,
100100
severity: "error",
101101
}
102+
103+
export const ErrorAsWarning = Template.bind({})
104+
ErrorAsWarning.args = {
105+
error: mockError,
106+
severity: "warning"
107+
}

0 commit comments

Comments
 (0)