openreplay/frontend/app/components/ui/Checkbox/Checkbox.tsx
Андрей Бабушкин 2b1a9f3378 add locales and lint the project
2025-03-05 16:09:18 +01:00

12 lines
311 B
TypeScript

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