import { VariantProps } from 'class-variance-authority'; import { ColorType } from '../../../utils'; import * as SwitchPrimitives from '@radix-ui/react-switch'; import * as React from 'react'; declare const switchVariants: (props?: ({ colorType?: "gray" | "pink" | "lime" | "blue" | null | undefined; size?: "s" | "m" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string; export interface SwitchProps extends Omit, 'asChild'>, Omit, 'colorType'> { /** * 활성화 상태(on) 배경 색상 (CSS 색상값) */ activeColor?: string; /** * 색상 variant (미리 정의된 색상 세트) */ colorType?: ColorType; /** * 스위치 내부 원(thumb) 색상 */ controlColor?: string; /** * 비활성화 상태(off) 배경 색상 (CSS 색상값) */ inactiveColor?: string; /** * 스위치 크기 */ size?: 's' | 'm'; /** * 추가 스타일 (inline style) */ style?: React.CSSProperties; /** * Thumb 스타일 커스터마이징 */ thumbClassName?: string; } declare const Switch: { ({ className, colorType, size, checked, disabled, activeColor, inactiveColor, controlColor, style, thumbClassName, onCheckedChange, ref, ...props }: SwitchProps & { ref?: React.Ref>; }): React.JSX.Element; displayName: string; }; export { Switch }; //# sourceMappingURL=index.d.ts.map