Skip to content

Commit 07de804

Browse files
authored
feat: add code-error illustration to empty-view (#379)
1 parent 1356831 commit 07de804

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

components/empty-view/src/constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import {
22
AddUserProfileDark,
33
AddUserProfileLight,
44
bundleIllustrationSmart,
5+
CodeErrorDark,
6+
CodeErrorLight,
57
DataDark,
68
DataLight,
79
DevicesDark,
@@ -51,6 +53,7 @@ export const Illustration: Record<
5153
AddUserProfileDark,
5254
AddUserProfileLight
5355
),
56+
"code-error": bundleIllustrationSmart(CodeErrorDark, CodeErrorLight),
5457
data: bundleIllustrationSmart(DataDark, DataLight),
5558
devices: bundleIllustrationSmart(DevicesDark, DevicesLight),
5659
"empty-folder": bundleIllustrationSmart(EmptyFolderDark, EmptyFolderLight),

components/empty-view/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { HTMLAttributes, PropsWithChildren, ReactNode } from "react";
22

33
export type IllustrationKind =
44
| "add-user-profile"
5+
| "code-error"
56
| "data"
67
| "devices"
78
| "empty-folder"

0 commit comments

Comments
 (0)