maille
Version:
Component library for MithrilJS
16 lines (15 loc) • 406 B
TypeScript
import m from "mithril";
import { Children } from "mithril";
import { ClassComponent, Vnode } from "mithril";
interface NavBarAttrs {
id?: string;
className?: string;
rounded?: boolean;
lhs?: Children;
rhs?: Children;
center?: Children;
}
declare class NavBar implements ClassComponent<NavBarAttrs> {
view(vnode: Vnode<NavBarAttrs>): m.Vnode<any, any>;
}
export default NavBar;