v1.0 with SW PWA enabled
This commit is contained in:
21
frontend/node_modules/@radix-ui/react-switch/dist/index.d.mts
generated
vendored
Normal file
21
frontend/node_modules/@radix-ui/react-switch/dist/index.d.mts
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
||||
import * as React from 'react';
|
||||
import { Primitive } from '@radix-ui/react-primitive';
|
||||
|
||||
declare const createSwitchScope: _radix_ui_react_context.CreateScope;
|
||||
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
|
||||
interface SwitchProps extends PrimitiveButtonProps {
|
||||
checked?: boolean;
|
||||
defaultChecked?: boolean;
|
||||
required?: boolean;
|
||||
onCheckedChange?(checked: boolean): void;
|
||||
}
|
||||
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
type PrimitiveSpanProps = React.ComponentPropsWithoutRef<typeof Primitive.span>;
|
||||
interface SwitchThumbProps extends PrimitiveSpanProps {
|
||||
}
|
||||
declare const SwitchThumb: React.ForwardRefExoticComponent<SwitchThumbProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
declare const Root: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
declare const Thumb: React.ForwardRefExoticComponent<SwitchThumbProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
|
||||
export { Root, Switch, type SwitchProps, SwitchThumb, type SwitchThumbProps, Thumb, createSwitchScope };
|
||||
Reference in New Issue
Block a user