@dinefy/react-switch
v1.1.3
Published
Dinefy React Web UI - switch component
Readme
@dinefy/react-switch
Dinefy React Web UI - switch component
Installation
npm install @dinefy/react-switchUsage
import { Switch } from "@dinefy/react-switch";
function App() {
return (
<Switch.Root>
Switch Content
</Switch.Root>
);
}API Reference
Switch.Root
The root component of the switch component.
Props
Extends all HTML div element props.
