@cbinsights/fds
Version:
Form: A design system by CB Insights
13 lines (12 loc) • 422 B
TypeScript
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;