I'm new to React and I have a question about sharing properties from one component to another. For example, I want a parent component that has a "visible" function and I can pass it to other child components.
Example:
CustomInput visible="true";
CustomDropDown visible="false"
I'd like to know the best way to do this, respecting good practices. Thank you for your help!
Aucun commentaire:
Enregistrer un commentaire