@etsoo/materialui
Version:
TypeScript Material-UI Implementation
25 lines (24 loc) • 491 B
TypeScript
import { SwitchProps } from "@mui/material/Switch";
/**
* Ant style switch props
*/
export interface SwitchAntProps extends SwitchProps {
/**
* Active color
*/
activeColor?: string;
/**
* Start label
*/
startLabel?: string;
/**
* End label
*/
endLabel?: string;
}
/**
* Ant style switch
* @param props Props
* @returns Component
*/
export declare function SwitchAnt(props: SwitchAntProps): import("react/jsx-runtime").JSX.Element;