formaat-design / reshaped

Community repository for storing examples, reporting issues and tracking roadmap
https://reshaped.so
97 stars 3 forks source link

Accordion doc example is not correct - iconSize on the wrong place #263

Open vinizinmoraes opened 2 weeks ago

vinizinmoraes commented 2 weeks ago

Describe the bug The docs give some options to increase the iconSize but the example doesn't work

correct doc version
image image

Another question: is it possible to change the accordion icon without using a custom Accordion.Trigger?

To Reproduce Using the accordion on the doc website https://reshaped.so/docs/utilities/accordion

blvdmitry commented 1 week ago

Hey, sorry @vinizinmoraes for taking long to answer, preparing the next major release right now ✨ I've updated the documentation and we'll ship it along with the major.

Regarding your question, we were thinking about it originally but decided not to provide it as a built-in functionality since that would likely mean that icon animation also has to change. What kind of icon are you looking for in your case? Is it completely different or something like a chevron pointing right?