import React from 'react'; const CheckBox = ({ name, id, title, subtitle, onChange, className, state, children, childContainerClassname, disabled, }) => { const isCheckedClassname = state === true ? 'cb-on' : 'cb-off'; return (
{children}
); }; export default CheckBox;