UNPKG

amotify

Version:

UI Component for React,NextJS,esbuild

35 lines (34 loc) 954 B
/// <reference types="react" /> import { StyleTags, ReactElement } from '../@declares'; import $$ from 'jmini'; import { Box } from '../atoms'; import Sheet from './Sheet'; declare namespace Tooltips { type Methods = { __memoryID: string; open(p: Input): void; close(tipsID: string): void; closeALL(): void; Body: React.FC<Box.DefaultInput>; }; type Input = Sheet.CloseOptions & { tipsID?: string; tipsGroups?: string | string[]; nextToCursor?: boolean; gravityPoint?: number; hold_state?: boolean; content: ReactElement | { (): JSX.Element; }; openAfter?(): void; closeAfter?(): void; } & ({ event: any; parent?: $$.Args; } | { event?: any; parent: $$.Args; }) & StyleTags.BasicElement; } declare const Tooltips: Tooltips.Methods; export { Tooltips, Tooltips as default };