UNPKG

mithril-materialized

Version:
21 lines (20 loc) 551 B
import { FactoryComponent, Attributes } from 'mithril'; export interface IMaterialBox extends Partial<M.MaterialboxOptions>, Attributes { /** Source image path */ src: string; /** * Width of the image * @default undefined */ width?: number; /** * Height of the image * @default undefined */ height?: number; } /** * Create an image box, that, when clicked upon, fills the screen. * @see https://materializecss.com/media.html */ export declare const MaterialBox: FactoryComponent<IMaterialBox>;