jiro-ui
Version:
A Mithril.js UI library based from construct-ui
21 lines (20 loc) • 739 B
TypeScript
import m from 'mithril';
import { IAttrs, ISizeAttrs, IIntentAttrs } from '../../_shared';
export interface ITextAreaAttrs extends IAttrs, ISizeAttrs, IIntentAttrs {
/** Toggles basic styling (only bottom border) */
basic?: boolean;
/** Initial value to display (uncontrolled mode) */
defaultValue?: string;
/** Disables input */
disabled?: boolean;
/** Fills width of parent container */
fluid?: boolean;
/** Callback invoked on value change */
onchange?: (e: Event) => void;
/** Input value */
value?: string | number;
[htmlAttrs: string]: any;
}
export declare class TextArea implements m.Component<ITextAreaAttrs> {
view({ attrs }: m.Vnode<ITextAreaAttrs>): m.Vnode<any, any>;
}