UNPKG

jiro-ui

Version:

A Mithril.js UI library based from construct-ui

21 lines (20 loc) 591 B
import m from 'mithril'; import { IAttrs } from '../../_shared'; import { IconName } from '../icon'; export interface IEmptyStateAttrs extends IAttrs { /** Icon name */ icon?: IconName | m.Children; /** Header content */ header?: m.Children; /** Main content */ content?: m.Children; /** * Fills the height/width of parent container * @default true */ fill?: boolean; [htmlAttrs: string]: any; } export declare class EmptyState implements m.Component<IEmptyStateAttrs> { view({ attrs }: m.Vnode<IEmptyStateAttrs>): m.Vnode<any, any>; }