UNPKG

preact-material-components

Version:
28 lines (27 loc) 845 B
import { Component, VNode } from 'preact'; import MaterialComponent from '../Base/MaterialComponent'; export interface ITypographyProps { body1?: boolean; body2?: boolean; button?: boolean; caption?: boolean; headline1?: boolean; headline2?: boolean; headline3?: boolean; headline4?: boolean; headline5?: boolean; headline6?: boolean; overline?: boolean; subtitle1?: boolean; subtitle2?: boolean; title?: boolean; tag?: Component<{}, {}> | ((props: {}) => VNode) | keyof JSX.IntrinsicElements; } export interface ITypographyState { } export declare class Typography extends MaterialComponent<ITypographyProps, ITypographyState> { protected componentName: string; protected mdcProps: string[]; protected materialDom(allprops: any): JSX.Element; } export default Typography;