UNPKG

@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.

31 lines (30 loc) 1.43 kB
export interface AspectRatioClasses { /** Class name applied to the root element. */ root: string; /** Class name applied to the content element. */ content: string; /** Class name applied to the content element if `color="primary"`. */ colorPrimary: string; /** Class name applied to the content element if `color="neutral"`. */ colorNeutral: string; /** Class name applied to the content element if `color="danger"`. */ colorDanger: string; /** Class name applied to the content element if `color="success"`. */ colorSuccess: string; /** Class name applied to the content element if `color="warning"`. */ colorWarning: string; /** Class name applied to the root element when color inversion is triggered. */ colorContext: string; /** Class name applied to the content element if `variant="plain"`. */ variantPlain: string; /** Class name applied to the content element if `variant="outlined"`. */ variantOutlined: string; /** Class name applied to the content element if `variant="soft"`. */ variantSoft: string; /** Class name applied to the content element if `variant="solid"`. */ variantSolid: string; } export type AspectRatioClassKey = keyof AspectRatioClasses; export declare function getAspectRatioUtilityClass(slot: string): string; declare const aspectRatioClasses: AspectRatioClasses; export default aspectRatioClasses;