Passing Component in props
I try to generalize the following fragment:
where my component would apply the same ID for the
Something like this - except that it does not work
And call it like:
Thanks.
where my component would apply the same ID for the
<label> and the <input> but also the <input> would come as a parameter in props.Something like this - except that it does not work
And call it like:
Thanks.
