openreplay/frontend/app/components/ui/Checkbox/Checkbox.tsx
Delirium 968a3eefde
ui: migrating old components -> ant (#3060)
* ui: migrating old components -> ant

* ui: moving input, tooltip, toggler, checkbox... -> Toggler\s*(.)? from 'UI

* ui: more components moved

* ui: move popover to ant
2025-02-24 16:11:44 +01:00

16 lines
347 B
TypeScript

import React from 'react';
import { Checkbox as AntCheckbox } from 'antd'
interface Props {
className?: string;
label?: string;
[x: string]: any;
}
export default (props: Props) => {
const { className = '', label = '', ...rest } = props;
return (
<AntCheckbox {...rest}>
{label}
</AntCheckbox>
);
};