UNPKG

@baseplate-dev/ui-components

Version:

Shared UI component library

10 lines 403 B
import type * as React from 'react'; import { Switch as SwitchPrimitive } from 'radix-ui'; /** * A control that allows the user to toggle between checked and not checked. * * https://ui.shadcn.com/docs/components/switch */ declare function Switch({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>): React.ReactElement; export { Switch }; //# sourceMappingURL=switch.d.ts.map