import React from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; const TriggerEventCheckBox = (props) => { const { t } = props; return (
); }; TriggerEventCheckBox.propTypes = { t: PropTypes.func.isRequired, // i18next checked: PropTypes.bool.isRequired, onChange: PropTypes.func.isRequired, event: PropTypes.string.isRequired, children: PropTypes.object.isRequired, }; export default withTranslation()(TriggerEventCheckBox);