preact-material-components
Version:
preact wrapper for "Material Components for the web"
14 lines (12 loc) • 368 B
TypeScript
import MaterialComponent from '../MaterialComponent';
import {VNode} from 'preact';
declare interface IIconButtonProps {
'data-toggle-on'?: string;
'data-toggle-off'?: string;
}
export default class IconButton<
PropsType = JSX.HTMLAttributes,
StateType = {}
> extends MaterialComponent<PropsType & IIconButtonProps, StateType> {
static Icon: typeof Icon;
}