preact-material-components
Version:
preact wrapper for "Material Components for the web"
19 lines (18 loc) • 581 B
TypeScript
import { MDCRadio } from '@material/radio/';
import MaterialComponent from '../Base/MaterialComponent';
export interface IRadioProps {
checked?: boolean;
disabled?: boolean;
}
export interface IRadioState {
}
export declare class Radio extends MaterialComponent<IRadioProps, IRadioState> {
MDComponent?: MDCRadio;
protected componentName: string;
protected mdcProps: string[];
protected mdcNotifyProps: string[];
componentDidMount(): void;
componentWillUnmount(): void;
protected materialDom(allprops: any): JSX.Element;
}
export default Radio;