This is a general element that takes a specific material control as argument
(e.g. MaterialTextControl or MateriaIntegerControl) and wrap it adding a Checkbox,
that is used to hide, clear and lock the fields
Param
union of two parameters: 1) the (unwrapped) material control for a specific type (e.g. MaterialTextControl) and 2) whatever props it takes as parameter
This is a general element that takes a specific material control as argument (e.g. MaterialTextControl or MateriaIntegerControl) and wrap it adding a Checkbox, that is used to hide, clear and lock the fields