jxom / bumbag-ui

Build themeable React & React Native applications with your Bumbag 👝
https://bumbag.style
MIT License
1.01k stars 50 forks source link

pass additional default styling props to renderDisclosure #213

Closed maxmorlocke closed 2 years ago

maxmorlocke commented 2 years ago

Leveraging default styling is extremely difficult through renderDisclosure, as the properties like overrides, disabled, etc. are not passed through. To simplify rendering a default-like component (e.g. I just want to change the label text for +2 others), I've exposed all the default properties in addition to the dropdownMenuButtonProps and their class names.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
bumbag-ui ✅ Ready (Inspect) Visit Preview May 10, 2022 at 3:36PM (UTC)