Skip to content

Conversation

RobinMalfait
Copy link
Member

  • improve internal Label component
  • improve internal Description component
  • provide the name prop to Description & Label providers
  • implement the useLabels and useDescriptions in the Switch components

We will now add a name to improve error messages, we also introduced a
`clickable` prop on the label.

Not 100% happy with the implementation of these internal Label &
Description components, but they are internal so we can always change it
to something that makes more sense!
We will now add a name to improve error messages.
@vercel
Copy link

vercel bot commented Apr 8, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

headlessui-react – ./packages/@headlessui-react

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-react/GqJ2eaLHatYQ4n1gbCTyDwX57ztf
✅ Preview: https://headlessui-rea-git-use-internal-label-and-descriptions-t-ef6fd4.vercel.app

headlessui-vue – ./packages/@headlessui-vue

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-vue/CuuRRYy7Qt86YXPCtbLEdGZGEvku
✅ Preview: https://headlessui-vue-git-use-internal-label-and-descriptions-t-1b0425.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant