@sinco/react 1.0.15-rc.12 → 1.0.15-rc.14
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,15 +1,13 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
1
|
+
import React, { ReactNode } from 'react';
|
2
2
|
export type EmptyStateStates = 'create' | 'error' | 'noResult' | 'search';
|
3
|
-
export declare
|
4
|
-
error = "error",
|
5
|
-
search = "search",
|
6
|
-
noResult = "noResult",
|
7
|
-
create = "create"
|
8
|
-
}
|
3
|
+
export declare const EmptyStateImageUrls: Record<EmptyStateStates, string>;
|
9
4
|
export interface EmptyStateProperties {
|
5
|
+
icon?: ReactNode;
|
10
6
|
state?: EmptyStateStates;
|
11
7
|
title?: string;
|
12
8
|
content?: string;
|
13
9
|
actions?: ReactNode;
|
10
|
+
iconStyle?: React.CSSProperties;
|
11
|
+
containerHeight?: string;
|
14
12
|
}
|
15
|
-
export declare const EmptyStateComponent: ({ state, title, content, actions, }: EmptyStateProperties) => JSX.Element;
|
13
|
+
export declare const EmptyStateComponent: ({ state, title, content, actions, containerHeight, iconStyle, icon, }: EmptyStateProperties) => JSX.Element;
|
File without changes
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Variant } from "@mui/material/styles/createTypography";
|
2
|
-
import React from "react";
|
3
|
-
export interface PageheaderProperties {
|
4
|
-
title: string | React.ReactNode;
|
5
|
-
subtitle?: string | React.ReactNode;
|
6
|
-
actions?: React.ReactNode;
|
7
|
-
buttonBack?: React.ReactNode;
|
8
|
-
fixed?: boolean;
|
9
|
-
}
|
10
|
-
export declare function PageHeaderWraps({ item, Color, variant, }: {
|
11
|
-
item: string | React.ReactNode;
|
12
|
-
Color: string;
|
13
|
-
variant: Variant;
|
14
|
-
}): JSX.Element;
|
15
|
-
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
|