input & label
I know the reason for using it is because of the dependency.
Is it correct to write the above photo in this label & input ???
I am working on the product registration page
<label>
{label && <span>address</span>}
<input type={type} placeholder={placeholder} />
</label>
I think it should be written in span & input ex)
<div>
{label && <span>address</span>}
<input type={type} placeholder={placeholder} />
<div>
