openreplay/frontend/app/components/ui/Switch.tsx
Shekar Siri ee1a775379
change(ui): sessions settings moved to preferences (#1380)
* change(ui): sessions settings

* dev merge
2023-06-28 13:26:11 +02:00

13 lines
363 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 }) => {
return <AntdSwitch {...restProps} />;
};
export default Switch;