@bbki.ng/components 1.5.12 → 1.5.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +32 -2
- package/dist/index.js +145 -63
- package/dist/index.mjs +125 -47
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -83,7 +83,28 @@ declare type PageProps = {
|
|
|
83
83
|
main: ReactElement;
|
|
84
84
|
footer: ReactElement;
|
|
85
85
|
};
|
|
86
|
-
declare const Page: (props: PageProps) => JSX.Element;
|
|
86
|
+
declare const Page: (props: PageProps) => JSX.Element;
|
|
87
|
+
declare const NotFound: (props: {
|
|
88
|
+
children?: any;
|
|
89
|
+
}) => JSX.Element;
|
|
90
|
+
declare const Error: (props: {
|
|
91
|
+
error: Error;
|
|
92
|
+
}) => JSX.Element;
|
|
93
|
+
declare class ErrorBoundary extends React.Component<{
|
|
94
|
+
children: any;
|
|
95
|
+
}, {
|
|
96
|
+
error?: Error;
|
|
97
|
+
hasError: boolean;
|
|
98
|
+
}> {
|
|
99
|
+
constructor(props: {
|
|
100
|
+
children: any;
|
|
101
|
+
});
|
|
102
|
+
static getDerivedStateFromError(error: Error): {
|
|
103
|
+
hasError: boolean;
|
|
104
|
+
error: Error;
|
|
105
|
+
};
|
|
106
|
+
render(): any;
|
|
107
|
+
}
|
|
87
108
|
|
|
88
109
|
declare type PopConfirmProps = {
|
|
89
110
|
onOk?: EventHandler<React.MouseEvent<HTMLButtonElement>> | (() => Promise<void>);
|
|
@@ -193,4 +214,13 @@ interface LinkListProps extends Omit<listProps, "itemRenderer" | "items"> {
|
|
|
193
214
|
}
|
|
194
215
|
declare const LinkList: (props: LinkListProps) => JSX.Element;
|
|
195
216
|
|
|
196
|
-
|
|
217
|
+
interface NoiseCoverProps {
|
|
218
|
+
className?: string;
|
|
219
|
+
width?: number;
|
|
220
|
+
height?: number;
|
|
221
|
+
children?: any;
|
|
222
|
+
color?: string;
|
|
223
|
+
}
|
|
224
|
+
declare const NoiseCover: (props: NoiseCoverProps) => JSX.Element;
|
|
225
|
+
|
|
226
|
+
export { Article, ArticleProps, ArticleSkeleton, ArticleSkeletonProps, BLinkDotProps, BlinkDot, Breadcrumb, BreadcrumbProps, Button, ButtonProps, ButtonType, DropImage, Error, ErrorBoundary, ImageDropProps, ImagePreviewerProps, Link, LinkColor, LinkList, LinkListProps, LinkListSkeleton, LinkListSkeletonProps, LinkProps, List, Logo, LogoProps, Nav, NavProps, NoiseCover, NoiseCoverProps, NotFound, Page, Panel, PanelProps, PathObj, PopConfirm, PopConfirmProps, Skeleton, SkeletonColor, SkeletonProps, Table, TableProps, Tag, TagProps, Tags, ThreeColLayout, TitledList, TitledListProps, listProps, threeColLayoutProps };
|