daisyui / react-daisyui

daisyUI components built with React 🌼
http://react.daisyui.com/
MIT License
957 stars 103 forks source link

Stat.Item #338

Closed recidive closed 4 months ago

recidive commented 1 year ago

In story book the Stats component has Stat.Item. It looks likeStat is not exported? I'll investigate further.

dev0T commented 1 year ago

Yes, if you need to use Item you need to use it was Stats.Stat.Item. The storybook is giving the incorrect example since it isn't using the library on how it is exported, as it has access to everything.

I will create a PR that fixes the example in a bit

dev0T commented 4 months ago

@benjitrosch I think this can be closed since my merged PR has already been merged!

benjitrosch commented 4 months ago

@dev0T good catch, thanks!