@mui/joy
Version:
Joy UI is an open-source React component library that implements MUI's own design principles. It's comprehensive and can be used in production out of the box.
45 lines (44 loc) • 2.01 kB
TypeScript
export interface SvgIconClasses {
/** Class name applied to the root element. */
root: string;
/** Class name applied to the root element if `color="inherit"`. */
colorInherit: string;
/** Class name applied to the root element if `color="primary"`. */
colorPrimary: string;
/** Class name applied to the root element if `color="neutral"`. */
colorNeutral: string;
/** Class name applied to the root element if `color="danger"`. */
colorDanger: string;
/** Class name applied to the root element if `color="success"`. */
colorSuccess: string;
/** Class name applied to the root element if `color="warning"`. */
colorWarning: string;
/** Class name applied to the root element if `fontSize="inherit"`. */
fontSizeInherit: string;
/** Class name applied to the root element if `fontSize="xs"`. */
fontSizeXs: string;
/** Class name applied to the root element if `fontSize="sm"`. */
fontSizeSm: string;
/** Class name applied to the root element if `fontSize="md"`. */
fontSizeMd: string;
/** Class name applied to the root element if `fontSize="lg"`. */
fontSizeLg: string;
/** Class name applied to the root element if `fontSize="xl"`. */
fontSizeXl: string;
/** Class name applied to the root element if `fontSize="xl2"`. */
fontSizeXl2: string;
/** Class name applied to the root element if `fontSize="xl3"`. */
fontSizeXl3: string;
/** Class name applied to the root element if `fontSize="xl4"`. */
fontSizeXl4: string;
/** Class name applied to the root element if `size="sm"`. */
sizeSm: string;
/** Class name applied to the root element if `size="md"`. */
sizeMd: string;
/** Class name applied to the root element if `size="lg"`. */
sizeLg: string;
}
export type SvgIconClassKey = keyof SvgIconClasses;
export declare function getSvgIconUtilityClass(slot: string): string;
declare const svgIconClasses: SvgIconClasses;
export default svgIconClasses;