jiro-ui
Version:
A Mithril.js UI library based from construct-ui
15 lines (14 loc) • 499 B
TypeScript
import m from 'mithril';
import { IAttrs, ISizeAttrs } from '../../_shared';
export interface ICardAttrs extends IAttrs, ISizeAttrs {
/** Degree of card shadow */
elevation?: number;
/** Fills width of parent container */
fluid?: boolean;
/** Adds interactive hover/active styling */
interactive?: boolean;
[htmlAttrs: string]: any;
}
export declare class Card implements m.Component<ICardAttrs> {
view({ attrs, children }: m.Vnode<ICardAttrs>): m.Vnode<any, any>;
}