UNPKG

464 BTypeScriptView Raw
1export interface ModalClasses {
2 /** Class name applied to the root element. */
3 root: string;
4 /** Class name applied to the root element if the `Modal` has exited. */
5 hidden: string;
6 /** Class name applied to the backdrop element. */
7 backdrop: string;
8}
9export type ModalClassKey = keyof ModalClasses;
10export declare function getModalUtilityClass(slot: string): string;
11declare const modalClasses: ModalClasses;
12export default modalClasses;