UNPKG

@rc-component/trigger

Version:

base abstract trigger component for react

10 lines (9 loc) 436 B
import * as React from 'react'; import { type UniqueShowOptions } from '../context'; export interface UniqueProviderProps { children: React.ReactNode; /** Additional handle options data to do the customize info */ postTriggerProps?: (options: UniqueShowOptions) => UniqueShowOptions; } declare const UniqueProvider: ({ children, postTriggerProps, }: UniqueProviderProps) => React.JSX.Element; export default UniqueProvider;