import React, { Component } from 'react'; import { withTranslation } from 'react-i18next'; import './Checkbox.css'; interface CheckboxProps { title: string; subtitle: string; enabled: boolean; handleChange: (...args: unknown[]) => unknown; disabled?: boolean; t?: (...args: unknown[]) => string; } class Checkbox extends Component { render() { const { title, subtitle, enabled, handleChange, disabled, t, } = this.props; return (
); } } export default withTranslation()(Checkbox);