mfg-ui-components
Version:
React UI library with reusable components
19 lines (18 loc) • 655 B
TypeScript
import "./Switch.scss";
export type labelPosition = "left" | "right";
export interface Props {
switchMainClass?: any;
switchId?: any;
switchValue?: any;
onChange?: any;
switchLabel: string;
switchClass?: string;
switchlabelClass?: string;
checked?: boolean;
labelPosition?: labelPosition;
switchOnText?: string;
switchOffText?: string;
name?: string;
}
declare const Switch: ({ switchMainClass, switchId, onChange, switchLabel, switchClass, switchlabelClass, checked, labelPosition, switchValue, switchOnText, switchOffText, name }: Props) => import("react/jsx-runtime").JSX.Element;
export default Switch;