#Jetstream
6 messages · Page 1 of 1 (latest)
hi nate. could you share the error you're seeing and as much of the code as you can? if you're able to, it can be additionally helpful to see a minimal reproduction using https://storybook.new
hey! thank you for your reply. I realised I was having the issue because Storybook is not aware of some functions used in some of the Jetstream components - therefore it breaks
It's my understanding that I need to create a stub for some of these to work
one thing I am really struggling with though it working with the slots within Jetsream components, e.g I have a component here -
which looks like this -
<div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
<slot/>
</div>
I can get the outer part of this showing in Storybook, but I can't get the fields within it - no matter what I try!
so Storybook looks like this -