@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
21 lines (20 loc) • 593 B
TypeScript
import * as React from 'react';
import { SpaceProps } from '@xstyled/system';
interface ToggleProps extends SpaceProps, React.HTMLAttributes<any> {
className?: string;
id?: string;
htmlFor?: string;
checked?: boolean;
disabled?: boolean;
name?: string;
height?: string;
showText?: boolean;
knobSize?: string;
toggleColor?: string;
trackHeight?: string;
trackWidth?: string;
inputProps?: any;
onChange?: (arg: any) => any;
}
export declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<any>>;
export {};