mirror of
https://github.com/LukeHagar/firecamp.git
synced 2025-12-10 20:37:47 +00:00
chore: updated ui-kit to packages
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
import { ReactChildren } from 'react';
|
||||
|
||||
export interface IModal {
|
||||
/**
|
||||
* DOM id
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* Show close icon flag
|
||||
*/
|
||||
showCloseIcon?: boolean;
|
||||
/**
|
||||
* Is modal open or not
|
||||
*/
|
||||
isOpen?: boolean;
|
||||
/**
|
||||
* Classname to show custom styling
|
||||
*/
|
||||
className?: string;
|
||||
/**
|
||||
* Modal class name
|
||||
*/
|
||||
modalClass?: string;
|
||||
/**
|
||||
* Modal (react-responsive-modal) configuration
|
||||
* @ref: https://react-responsive-modal.leopradel.com/#props
|
||||
*/
|
||||
modalConfig?: object;
|
||||
/**
|
||||
* Function to call on close modal
|
||||
*/
|
||||
onClose?: (e?: any) => any;
|
||||
/**
|
||||
* child component
|
||||
*/
|
||||
children?: any;
|
||||
|
||||
height?: number | string;
|
||||
width?: number | string;
|
||||
|
||||
scrollbar?: boolean;
|
||||
}
|
||||
|
||||
export interface IHeader {
|
||||
id?: string;
|
||||
children?: any;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export interface IBody {
|
||||
id?: string;
|
||||
children?: any;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export interface IFooter {
|
||||
id?: string;
|
||||
children?: any;
|
||||
className?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user