jiro-ui
Version:
A Mithril.js UI library based from construct-ui
17 lines (16 loc) • 607 B
TypeScript
import m from 'mithril';
import { IAttrs, ISizeAttrs, IIntentAttrs } from '../../_shared';
export interface ISpinnerAttrs extends IAttrs, ISizeAttrs, IIntentAttrs {
/** Toggles visibility of spinner */
active?: boolean;
/** Fills the height/width of parent container */
fill?: boolean;
/** Shows background when fill=true */
background?: boolean;
/** Optional message to show under icon */
message?: string;
[htmlAttrs: string]: any;
}
export declare class Spinner implements m.Component<ISpinnerAttrs> {
view({ attrs }: m.Vnode<ISpinnerAttrs>): m.Vnode<any, any>;
}