@wonderflow/react-components
Version:
UI components from Wonderflow's Wanda design system
20 lines • 758 B
TypeScript
import { PropsWithChildren } from 'react';
export declare type ModalHeaderProps = PropsWithChildren<PropsWithClass<{
/**
* Hide the Close icon Button.
*/
hideCloseButton?: boolean;
/**
* Hide the border at the bottom of the header. This will be automatically dismissed
* if no content is provided.
*/
hideBorder?: 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 ModalHeaderComponent = React.ForwardRefExoticComponent<ModalHeaderProps>;
export declare const ModalHeader: ModalHeaderComponent;
//# sourceMappingURL=modal-header.d.ts.map