@wonderflow/react-components
Version:
UI components from Wonderflow's Wanda design system
30 lines • 1.19 kB
TypeScript
import { PropsWithChildren } from 'react';
export declare type ModalContentProps = PropsWithChildren<PropsWithClass<{
/**
* Set Modal content vertically in the center on a mobile screen.
*/
alignContentCenter?: boolean;
/**
* Set the theme of the content card. To ensure contrast with the default overlay color (dark),
* this is set to `light` by default.
*/
theme?: 'dark' | 'light' | 'auto';
}>>;
export declare type ModalContentComponent = React.ForwardRefExoticComponent<ModalContentProps>;
export declare const ModalContent: import("react").ForwardRefExoticComponent<{
style?: Record<string, any> | undefined;
className?: string | undefined;
} & {
/**
* Set Modal content vertically in the center on a mobile screen.
*/
alignContentCenter?: boolean | undefined;
/**
* Set the theme of the content card. To ensure contrast with the default overlay color (dark),
* this is set to `light` by default.
*/
theme?: "auto" | "dark" | "light" | undefined;
} & {
children?: import("react").ReactNode;
} & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=modal-content.d.ts.map