gatsby-plugin-material-symbols
Version:
Easily add Material Symbols to your Gatsby site, with various Gatsby-specific performance optimizations built-in.
19 lines • 797 B
TypeScript
import type { GatsbyNode } from "gatsby";
import type { MaterialSymbolWeight, MaterialSymbolGrade, MaterialSymbolCodepoints } from './types';
export declare const pluginOptionsSchema: GatsbyNode["pluginOptionsSchema"];
export type pluginOptions = {
embedFonts?: boolean;
extraIcons?: MaterialSymbolCodepoints[] | Record<string, MaterialSymbolCodepoints[]>;
includeFill?: boolean;
weightRange?: MaterialSymbolWeight[];
gradeRange?: MaterialSymbolGrade[];
sizeRange?: number[];
extraStyles?: Array<"outlined" | "rounded" | "sharp"> | {
outlined?: boolean;
rounded?: boolean;
sharp?: boolean;
};
verbose?: boolean;
};
export declare const onCreateWebpackConfig: GatsbyNode["onCreateWebpackConfig"];
//# sourceMappingURL=gatsby-node.d.ts.map