@zjlab-fe/data-hub-ui 0.3.1 → 0.3.3
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/types/components/auth-tag/demo/index.d.ts +1 -0
- package/dist/types/components/auth-tag/index.d.ts +8 -0
- package/dist/types/components/status-tag/demo/index.d.ts +1 -0
- package/dist/types/components/status-tag/index.d.ts +8 -0
- package/dist/types/index.d.ts +2 -0
- package/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Demo(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Demo(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type TagType = 'running' | 'failed' | 'success' | 'stopped' | 'pending';
|
|
3
|
+
interface IProps {
|
|
4
|
+
type?: TagType;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default function StatusTag(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -14,4 +14,6 @@ export type { ICopy } from './components/copy';
|
|
|
14
14
|
export { default as ConfirmAgain } from './components/confirm-again';
|
|
15
15
|
export { default as FloatingLayer } from './components/floating-layer';
|
|
16
16
|
export { default as BenchCard } from './components/bench-card';
|
|
17
|
+
export { default as AuthTag } from './components/auth-tag';
|
|
18
|
+
export { default as StatusTag } from './components/status-tag';
|
|
17
19
|
export type { IFilePreviewProps } from './components/file-preview/interface';
|