UNPKG

@sinchsmb/ui-kit

Version:

UI kit for SinchSMB frontend

20 lines (19 loc) 618 B
import { AriaAttributes, ReactNode } from 'react'; import { CommonProps } from '../../types'; /** Props for {@link EmptyState} */ export interface EmptyStateProps extends CommonProps { children: ReactNode; ariaHidden?: AriaAttributes['aria-hidden']; } /** * Common component for empty content. * * ```tsx * <EmptyState> * <EmptyStateHeader>There are no items</EmptyStateHeader> * <EmptyStateBody>Click "Add item" button to add one</EmptyStateBody> * <EmptyStateButton>Add item</EmptyStateButton> * </EmptyState> * ``` */ export declare function EmptyState(props: EmptyStateProps): JSX.Element;