Louis
Louis•4y ago

Component composition

I've moved this to a thread because it kept getting swallowed 😆 Is it common to create a component called something like InputWithLabel that renders an Input component wrapped in a HTML label? Thanks in advance
2 Replies
Unknown User
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
vcarl
vcarl•4y ago
yeah frequently a custom <Input> component will have a label prop or similar

Did you find this page helpful?