UNPKG

gatsby-plugin-material-symbols

Version:

Easily add Material Symbols to your Gatsby site, with various Gatsby-specific performance optimizations built-in.

18 lines 948 B
import type { ElementType, CSSProperties, ReactElement } from "react"; import type { MaterialSymbolGrade, MaterialSymbolWeight, PolymorphicComponentProps, MaterialSymbolCodepoints } from './types'; export type { MaterialSymbolWeight, MaterialSymbolGrade, MaterialSymbolSize, MaterialSymbolCodepoints } from './types'; export type MaterialSymbolProps = { symbol: MaterialSymbolCodepoints; fill?: boolean; weight?: MaterialSymbolWeight; grade?: MaterialSymbolGrade; size?: number; symbolStyle?: "outlined" | "rounded" | "sharp"; className?: string; style?: CSSProperties; removeInlineStyles?: boolean; }; export type PolymorphicMaterialSymbolProps<C extends ElementType> = PolymorphicComponentProps<C, MaterialSymbolProps>; export declare const MaterialSymbol: <C extends ElementType>(props: PolymorphicMaterialSymbolProps<C>) => ReactElement; export default MaterialSymbol; //# sourceMappingURL=component.d.ts.map