@cerberus-design/react
Version:
The Cerberus Design React component library.
18 lines (17 loc) • 1.79 kB
text/typescript
import { Switch, SwitchControlProps as ArkSwitchControlProps, SwitchHiddenInputProps as ArkSwitchHiddenInputProps, SwitchLabelProps as ArkSwitchLabelProps, SwitchRootProps as ArkSwitchRootProps, SwitchThumbProps as ArkSwitchThumbProps } from '@ark-ui/react/switch';
import { SwitchRecipeVariantProps } from 'styled-system/recipes';
import { CerberusPrimitiveProps } from '../../system/index';
import { ForwardRefExoticComponent, RefAttributes } from 'react';
export type SwitchRootProps = CerberusPrimitiveProps<ArkSwitchRootProps & SwitchRecipeVariantProps>;
export declare const SwitchRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.RootProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<unknown>>;
export type SwitchLabelProps = CerberusPrimitiveProps<ArkSwitchLabelProps>;
export declare const SwitchLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.LabelProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<unknown>>;
export type SwitchControlProps = CerberusPrimitiveProps<ArkSwitchControlProps>;
export declare const SwitchControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.ControlProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<unknown>>;
export type SwitchThumbProps = CerberusPrimitiveProps<ArkSwitchThumbProps>;
export declare const SwitchThumb: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.ThumbProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<unknown>>;
export type SwitchHiddenInputProps = CerberusPrimitiveProps<ArkSwitchHiddenInputProps>;
export declare const SwitchHiddenInput: {
(props: CerberusPrimitiveProps<Switch.HiddenInputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};