@plurid/plurid-ui-components-react
Version:
Plurid User Interface Components for React
16 lines (15 loc) • 447 B
TypeScript
import React from 'react';
import { Theme } from '@plurid/plurid-themes';
import { SwitchProperties } from '../Switch';
export interface InputSwitchProperties {
name: string;
checked: boolean;
atChange: () => void;
theme?: Theme;
compact?: boolean;
switch?: SwitchProperties;
style?: React.CSSProperties;
className?: string;
}
declare const InputSwitch: React.FC<InputSwitchProperties>;
export default InputSwitch;