samedi 27 mai 2017

MDL - Checkbox component

Is it possible to have a link for the label of MDL checkbox component? If yes, How can I achieve it?

Example:

const renderCheckBoxField = ({ input, label, meta: { touched, error }, ...custom }) => ( );

' offers name="offers" component={renderCheckBoxField} type="checkbox"/>

The above of course doesn't work, any other alternatives along the same lines?

Thank you!




Aucun commentaire:

Enregistrer un commentaire