react-daisyui icon indicating copy to clipboard operation
react-daisyui copied to clipboard

Stat.Item

Open recidive opened this issue 2 years ago • 1 comments
trafficstars

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

recidive avatar Apr 17 '23 01:04 recidive

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 avatar Apr 17 '23 22:04 dev0T

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

dev0T avatar May 12 '24 05:05 dev0T

@dev0T good catch, thanks!

benjitrosch avatar May 13 '24 13:05 benjitrosch