preact-material-design
Version:
A set of material components for Preact.
18 lines (17 loc) • 495 B
TypeScript
import { Component } from 'preact';
export interface IconProps {
/**
* The name of the icon.
* A list of supported icons can be found here: https://material.io/icons/
*/
icon: string;
/**
* If true, the icon will not have any padding applied.
*/
noClearance?: boolean;
size?: 'normal' | 'dense';
}
export declare class Icon extends Component<IconProps, {}> {
static defaultProps: Partial<IconProps>;
render(): JSX.Element;
}