tailwindlabs / tailwindui-vue

Deprecated, please use the Headless UI repo instead.
https://github.com/tailwindlabs/headlessui/
647 stars 29 forks source link

style: use short slot syntax in readme #3

Closed abordiere closed 4 years ago

abordiere commented 4 years ago

Not sure this PR is really useful tho 😅

https://vuejs.org/v2/guide/components-slots.html#Named-Slots-Shorthand

adamwathan commented 4 years ago

Looks longer 😆

abordiere commented 4 years ago

Looks longer 😆

True... But I still feel like this syntax is more readable as it clearly identifies properties from parent. It's up to you tho 😄

I guess it's just a detail anyway 😅