jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
21 lines (20 loc) • 640 B
TypeScript
import type { LocaleProps, ThemeProps } from 'jamis-core';
import type { CSSProperties, PropsWithChildren } from 'react';
import type { SchemaClassName, SizeUnit } from '../types';
export interface ModalProps extends PropsWithChildren, ThemeProps, LocaleProps {
className?: string;
contentClassName?: SchemaClassName;
size?: SizeUnit;
width?: any;
height?: any;
overlay?: boolean;
closeOnEsc?: boolean;
closeOnOutside?: boolean;
container?: any;
show?: boolean;
disabled?: boolean;
style?: CSSProperties;
onHide: (e: any) => void;
onExited?: () => void;
onEntered?: () => void;
}