Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ab1dd4

Browse files
committed
add story for api error with detail
1 parent92aad66 commit8ab1dd4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎site/src/components/Alert/ErrorAlert.stories.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ export const WithOnlyMessage: Story = {
3434
},
3535
};
3636

37+
exportconstAPIErrorWithDetail:Story={
38+
args:{
39+
error:mockApiError({
40+
message:"Magic dust is missing",
41+
detail:"without magic dust, the requested operation will never work",
42+
}),
43+
},
44+
};
45+
3746
exportconstWithDismiss:Story={
3847
args:{
3948
dismissible:true,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp