preact-material-components
Version:
preact wrapper for "Material Components for the web"
22 lines (21 loc) • 794 B
TypeScript
import { MDCLinearProgress } from '@material/linear-progress';
import MaterialComponent from '../Base/MaterialComponent';
export interface ILinearProgressProps {
indeterminate?: boolean;
reversed?: boolean;
progress?: number;
}
export interface ILinearProgressState {
}
export declare class LinearProgress extends MaterialComponent<ILinearProgressProps, ILinearProgressState> {
MDComponent?: MDCLinearProgress;
protected componentName: string;
protected mdcProps: string[];
protected themeProps: string[];
protected mdcNotifyProps: string[];
componentDidMount(): void;
componentWillReceiveProps(nextProps: ILinearProgressProps): void;
componentWillUnmount(): void;
protected materialDom(props: any): JSX.Element;
}
export default LinearProgress;