UNPKG

@smart-react-components/ui

Version:
30 lines (29 loc) 1.25 kB
import { IntrinsicStyledSizeProps } from '@smart-react-components/core/element-props/intrinsic-styled-size-props'; import { ContentElement, JSXElementProps, Partial, ResponsiveProp, SetState, ShapeProp, SizeProp } from '@smart-react-components/core/types'; import { TransitionAfterCallback, TransitionBeforeCallback } from '@smart-react-components/transition/types'; import React from 'react'; export interface Props extends Partial<ResponsiveProp<'size', SizeProp>>, IntrinsicStyledSizeProps { afterHide?: TransitionAfterCallback; afterShow?: TransitionAfterCallback; beforeHide?: TransitionBeforeCallback; beforeShow?: TransitionBeforeCallback; children: ContentElement | ContentElement[]; elementProps?: JSXElementProps; hasBorder?: boolean; hasHideAnimation?: boolean; hasShowAnimation?: boolean; hasOverlayBackground?: boolean; hasOverlayBlurEffect?: boolean; isBlock?: boolean; isCentered?: boolean; isDismissible?: boolean; isStretched?: boolean; isFullScreen?: boolean; setStatus?: SetState<boolean>; shape?: ShapeProp; status?: boolean; transitionClassName?: string; transitionDuration?: number; } declare const Modal: React.FC<Props>; export default Modal;