@blocklet/payment-react
Version:
Reusable react components for payment kit v2
8 lines (7 loc) • 352 B
TypeScript
import type { LiteralUnion } from 'type-fest';
import type { SwitchProps as MuiSwitchProps } from '@mui/material';
type CustomSwitchProps = {
variant?: LiteralUnion<'success' | 'error' | 'warning' | 'info' | 'primary' | 'secondary', string>;
} & MuiSwitchProps;
declare const SwitchButton: React.FC<CustomSwitchProps>;
export default SwitchButton;