preact-material-components
Version:
preact wrapper for "Material Components for the web"
24 lines (23 loc) • 659 B
TypeScript
import MaterialComponent from '../Base/MaterialComponent';
import Icon from '../Icon';
export declare class FabIcon extends Icon {
protected componentName: string;
}
export interface IFabProps {
ripple?: boolean;
mini?: boolean;
exited?: boolean;
primary?: boolean;
secondary?: boolean;
}
export interface IFabState {
}
export declare class Fab extends MaterialComponent<IFabProps, IFabState> {
protected componentName: string;
protected mdcProps: string[];
protected themeProps: string[];
protected materialDom(props: any): JSX.Element;
}
export default class extends Fab {
static readonly Icon: typeof FabIcon;
}