UNPKG

@teravn/onui

Version:

The React UI component library is based on MUI

61 lines (60 loc) 2.16 kB
import { OwnerStateThemeType } from '.'; declare const SwitchButton: () => { MuiSwitch: { styleOverrides: { root: ({ theme }: OwnerStateThemeType) => { width: string; height: string; padding: number; '& .MuiSwitch-switchBase': { padding: number; margin: string; '&.Mui-checked': { transform: string; color: string; '& + .MuiSwitch-track': { backgroundColor: string; opacity: number; border: number; }; }; '&.Mui-disabled': { color: string; '& + .MuiSwitch-track': { backgroundColor: string; opacity: number; }; '&.Mui-checked': { color: string; '& + .MuiSwitch-track': { backgroundColor: string; }; }; }; '&:hover': { '& + .MuiSwitch-track': { backgroundColor: string; }; '&.Mui-checked': { '& + .MuiSwitch-track': { backgroundColor: string; }; }; }; }; '& .MuiSwitch-thumb': { boxShadow: string; boxSizing: string; width: string; height: string; }; '& .MuiSwitch-track': { borderRadius: string; backgroundColor: string; opacity: number; }; }; }; }; }; export default SwitchButton;