UNPKG

@zag-js/tooltip

Version:

Core logic for the tooltip widget implemented as a state machine

10 lines (7 loc) 339 B
import { TooltipProps } from './tooltip.types.js'; import '@zag-js/core'; import '@zag-js/popper'; import '@zag-js/types'; declare const props: (keyof TooltipProps)[]; declare const splitProps: <Props extends Partial<TooltipProps>>(props: Props) => [Partial<TooltipProps>, Omit<Props, keyof TooltipProps>]; export { props, splitProps };