mithril-materialized
Version:
A materialize library for mithril.
9 lines (8 loc) • 307 B
TypeScript
import { FactoryComponent, Attributes } from 'mithril';
export interface CodeBlockAttrs extends Attributes {
language?: string;
code: string | string[];
newRow?: boolean;
}
/** A simple code block without syntax high-lighting */
export declare const CodeBlock: FactoryComponent<CodeBlockAttrs>;