gemini-uis 0.5.1 → 0.5.2
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 +11 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ButtonHTMLAttributes } from 'react';
|
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
import { ForwardRefExoticComponent } from 'react';
|
|
4
4
|
import { HTMLAttributes } from 'react';
|
|
5
|
+
import { JSX } from 'react/jsx-runtime';
|
|
5
6
|
import { ReactNode } from 'react';
|
|
6
7
|
import { RefAttributes } from 'react';
|
|
7
8
|
import { SVGProps } from 'react';
|
|
@@ -323,6 +324,16 @@ export declare type DrawerSize = 'sm' | 'md' | 'lg' | 'full';
|
|
|
323
324
|
|
|
324
325
|
export declare const EmptyState: ForwardRefExoticComponent<EmptyStateProps & RefAttributes<HTMLDivElement>>;
|
|
325
326
|
|
|
327
|
+
/**
|
|
328
|
+
* 空状态图标组件
|
|
329
|
+
*/
|
|
330
|
+
export declare function EmptyStateIcon({ type, className }: EmptyStateIconProps): JSX.Element;
|
|
331
|
+
|
|
332
|
+
declare interface EmptyStateIconProps {
|
|
333
|
+
type: EmptyStateIconType;
|
|
334
|
+
className?: string;
|
|
335
|
+
}
|
|
336
|
+
|
|
326
337
|
/**
|
|
327
338
|
* 空状态组件的图标类型
|
|
328
339
|
*/
|
package/dist/index.js
CHANGED
|
@@ -614,4 +614,4 @@ const EmptyState = forwardRef(({ icon: e = "search", title: b, description: x, a
|
|
|
614
614
|
});
|
|
615
615
|
EmptyState.displayName = "EmptyState";
|
|
616
616
|
var EmptyState_default = EmptyState;
|
|
617
|
-
export { Button_default as Button, Card_default as Card, CloseIcon_default as CloseIcon, Collapse_default as Collapse, Divider_default as Divider, Drawer_default as Drawer, EmptyState_default as EmptyState, LoadingIcon_default as LoadingIcon, cn_default as cn };
|
|
617
|
+
export { Button_default as Button, Card_default as Card, CloseIcon_default as CloseIcon, Collapse_default as Collapse, Divider_default as Divider, Drawer_default as Drawer, EmptyState_default as EmptyState, EmptyStateIcon, LoadingIcon_default as LoadingIcon, cn_default as cn };
|