0.1.3 • Published 3 years ago
@solid-aria/toggle v0.1.3
@solid-aria/toggle
Primitives for building toggle components like checkboxes and switches.
Installation
npm install @solid-aria/toggle
# or
yarn add @solid-aria/toggle
# or
pnpm add @solid-aria/togglecreateToggleState
Provides state management for toggle components like checkboxes and switches.
How to use it
See the docs of createCheckbox for an example of createToggleState.
createToggle
Handles interactions for toggle elements, e.g. Checkboxes and Switches.
How to use it
See the docs of createCheckbox for an example of createToggle.
Changelog
All notable changes are described in the CHANGELOG.md file.