@project44-manifest/react
Version:
Manifest Design System react components
15 lines • 638 B
TypeScript
import type { AriaSwitchProps } from '@react-types/switch';
import { As, Options, Props } from '../../system';
import type { StyleProps } from '../../types';
export declare type SwitchElement = 'label';
export declare type SwitchProps<T extends As = SwitchElement> = Props<SwitchOptions<T>>;
export interface SwitchOptions<T extends As = SwitchElement> extends AriaSwitchProps, Options<T>, StyleProps {
/**
* The size of the component
*
* @default medium
*/
size?: 'medium' | 'small';
}
export declare const Switch: import("../../system").Component<SwitchOptions<"label">>;
//# sourceMappingURL=Switch.d.ts.map