dgz-ui-shared
Version:
Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript, dgz-ui library
13 lines • 477 B
TypeScript
import type { ReactNode } from 'react';
export interface EmptyProps {
children?: ReactNode;
icon?: ReactNode;
}
/**
* Empty displays a simple empty state with an optional icon and message.
*
* @param props.children - Optional custom message/content.
* @param props.icon - Optional custom icon. Defaults to a folder icon.
*/
export declare const Empty: ({ children, icon }: EmptyProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=Empty.d.ts.map