import * as React from "react"; import {ColorValue} from "react-native"; import { PopupLayerAnimatedName, PopupLayerDirectionName, } from "../../popupLayer"; export type IProps = { // 名称,用于找到layer readonly name: string readonly children?: React.ReactNode // 动画方式 readonly animated?: PopupLayerAnimatedName // 方向 readonly direction?: PopupLayerDirectionName // 宽度 readonly width?: number // 高度 readonly height?: number // 间隙 readonly edge?: number // 圆角 readonly borderRadius?: number // 是否点击隐藏 readonly isClickHide?: boolean // 背景色 readonly bg?: ColorValue // 边框颜色 readonly borderColor?: ColorValue // 打开回调 readonly openCallback?: (name: string) => void // 关闭回调 readonly closeCallback?: (name: string) => void }