import * as React from 'react' ; import './CheckBox.css' ; interface CheckBoxProps { header : string ; isChecked : boolean ; } export default function CheckBox ( props ) { return ( < > < div className = "checkmark" > { props . isChecked ? '✔' : '' } < /div> { props . header } < />); }