@zag-js/toggle
Version:
Core logic for the toggle widget implemented as a state machine
9 lines (8 loc) • 397 B
TypeScript
export { anatomy } from './toggle.anatomy.js';
export { connect } from './toggle.connect.js';
export { machine } from './toggle.machine.js';
export { props, splitProps } from './toggle.props.js';
export { ToggleApi as Api, ToggleMachine as Machine, ToggleProps as Props, ToggleService as Service } from './toggle.types.js';
import '@zag-js/anatomy';
import '@zag-js/types';
import '@zag-js/core';