@aveonline/ui-react
Version:
Home base for Aveonline design system - ecosystem react
39 lines (38 loc) • 839 B
TypeScript
/// <reference types="react" />
import { IChildren, IClassName } from '../../../types';
interface IPropsModal extends IChildren, IClassName {
/**
* Crontol open and close modal
*/
isOpen?: boolean;
/**
* Title main
*/
title?: string;
/**
* Reference to icon with onclick on the header
*/
iconTitle?: JSX.Element;
/**
* Subtitle secondary
*/
subtitle?: string;
/**
* Container for elements align to x end
*/
footer?: JSX.Element;
/**
* Control border for children
*/
hasBorder?: Array<'top' | 'bottom'>;
/**
* Show icon delete from header
*/
showClose?: boolean;
/**
* Event for close modal
*/
onClose?: (value: boolean) => void;
disableOverlayClick?: boolean;
}
export type { IPropsModal };