Skip to content

Commit d56f9e1

Browse files
committed
feat(empty): support notfound img
1 parent 4873a26 commit d56f9e1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
20.6 KB
Loading

src/empty/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ export const IMG_MAP = {
1212
chart: 'empty_chart.png',
1313
overview: 'empty_overview.png',
1414
permission: 'empty_permission.png',
15+
notFound: 'empty_notFound.png',
1516
};
1617

1718
export interface EmptyProps extends AntdEmptyProps {
18-
type?: 'default' | 'search' | 'chart' | 'project' | 'overview' | 'permission';
19+
type?: 'default' | 'search' | 'chart' | 'project' | 'overview' | 'permission' | 'notFound';
1920
size?: 'default' | 'large';
2021
showEmpty?: boolean;
2122
extra?: ReactNode;

0 commit comments

Comments
 (0)