openreplay/frontend/app/components/ui/Switch.tsx
Андрей Бабушкин b822b1c067 applied eslint
2025-02-26 20:31:01 +01:00

11 lines
349 B
TypeScript

import React from 'react';
import { Switch as AntdSwitch, SwitchProps as AntdSwitchProps } from 'antd';
interface SwitchProps extends AntdSwitchProps {
customProp?: boolean;
// Add any additional custom props here
}
const Switch: React.FC<SwitchProps> = ({ customProp, ...restProps }) => <AntdSwitch {...restProps} />;
export default Switch;