@seplan/diti-ds
Version:
Reusable UI component library developed by DITI (Technology and Innovation Directorate of SEPLAN PI) based on Mantine and Tailwind CSS
44 lines • 1.71 kB
TypeScript
import React from 'react';
interface EmptyStateProps {
children: React.ReactNode;
className?: string;
size?: 'narrow' | 'wide';
}
interface EmptyStateHeaderProps {
children: React.ReactNode;
className?: string;
}
interface EmptyStateDescriptionProps {
children: React.ReactNode;
className?: string;
}
interface EmptyStateIconProps {
children: React.ReactNode;
className?: string;
}
interface EmptyStateImageProps {
src: string;
alt: string;
width: number;
height: number;
className?: string;
}
interface EmptyStateActionsProps {
children: React.ReactNode;
className?: string;
}
declare function EmptyState({ children, className, size }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
declare namespace EmptyState {
var Header: typeof EmptyStateHeader;
var Description: typeof EmptyStateDescription;
var Icon: typeof EmptyStateIcon;
var Image: typeof EmptyStateImage;
var Actions: typeof EmptyStateActions;
}
declare function EmptyStateHeader({ children, className }: EmptyStateHeaderProps): import("react/jsx-runtime").JSX.Element;
declare function EmptyStateDescription({ children, className }: EmptyStateDescriptionProps): import("react/jsx-runtime").JSX.Element;
declare function EmptyStateIcon({ children, className }: EmptyStateIconProps): import("react/jsx-runtime").JSX.Element;
declare function EmptyStateImage({ src, alt, width, height, className }: EmptyStateImageProps): import("react/jsx-runtime").JSX.Element;
declare function EmptyStateActions({ children, className }: EmptyStateActionsProps): import("react/jsx-runtime").JSX.Element;
export { EmptyState };
//# sourceMappingURL=empty-state.d.ts.map