UNPKG

jamis

Version:

一种支持通过JSON配置方式生成页面的组件库

30 lines (29 loc) 927 B
import type { PropsWithChildren } from 'react'; import React from 'react'; import type { LocaleProps, SchemaClassName, ThemeProps } from 'jamis-core'; export interface PopUpPorps extends PropsWithChildren, ThemeProps, LocaleProps { title?: string; className?: string; style?: { [styleName: string]: string; }; overlay?: boolean; onHide?: () => void; isShow?: boolean; container?: any; showConfirm?: boolean; onConfirm?: (value: any) => void; showClose?: boolean; placement?: 'left' | 'center' | 'right'; header?: JSX.Element; contentClassName?: SchemaClassName; } export declare class PopUp extends React.PureComponent<PopUpPorps> { static defaultProps: Partial<PopUpPorps>; scrollTop: number; componentDidUpdate(): void; componentWillUnmount(): void; handleClick(e: React.MouseEvent): void; render(): JSX.Element; } export default PopUp;