lundi 10 août 2020

test disabled attr of input using enzyme

const Checkbox = (props) => { return ( <input class="input" disabled={props.status===CONSTANTS.THREE?true:false} /> Checkbox ); };

export default Checkbox;

Aucun commentaire:

Enregistrer un commentaire