@ssplib/react-components
Version:
SSP React Components
12 lines (11 loc) • 351 B
TypeScript
import React from 'react';
interface SwitchProps {
name: string;
defaultChecked?: boolean;
title?: string;
overrideYes?: string;
overrideNo?: string;
}
export declare function Switch({ defaultChecked, ...props }: SwitchProps): JSX.Element;
declare const _default: React.MemoExoticComponent<typeof Switch>;
export default _default;