UNPKG

@zag-js/editable

Version:

Core logic for the editable widget implemented as a state machine

10 lines (7 loc) 356 B
import { EditableProps } from './editable.types.mjs'; import '@zag-js/core'; import '@zag-js/interact-outside'; import '@zag-js/types'; declare const props: (keyof EditableProps)[]; declare const splitProps: <Props extends Partial<EditableProps>>(props: Props) => [Partial<EditableProps>, Omit<Props, keyof EditableProps>]; export { props, splitProps };