zilly-ui
Version:
Zilly web react ui components
13 lines (12 loc) • 456 B
text/typescript
import { ReactNode, Children } from "react";
export interface IProps {
title: string|ReactNode;
content: string|ReactNode;
placement?: 'top'|'left'|'right'|'bottom'|'topLeft'|'topRight'|'bottomLeft'|'bottomRight'|'leftTop'|'leftBottom'|'rightTop'|'rightBottom';
trigger?: 'click'|'hover';
visible?: boolean;
defaultVisible?: boolean;
onVisibleChange?: (visible:boolean)=>void;
overlayClassName?: string,
children: any
}