UNPKG

@cbinsights/fds

Version:
13 lines (12 loc) 422 B
import React from 'react'; import Icon from 'components/Icon'; export declare type Props = { /** Pass in "only" a FDS Icon reference to display it (e.g. Icon={TableIcon}) */ Icon?: Icon; /** Text inside */ label?: string | number | React.ReactNode; /** Min height of section */ height?: string; }; declare const ZeroState: ({ Icon, label, height }: Props) => JSX.Element; export default ZeroState;