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

16 lines
339 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>
);
}