You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a lovely piece of code ,<Container.Chart/>expect to get a function but who is not in props,
<Containerclass="w-full col-span-6 h-450px <md:col-span-12"><Container.Title>
some title
</Container.Title><Container.Chart>{console.log}</Container.Chart></Container>
as you can see, both the<Container.Title/> and the <Container.Chart/> area are displayed in their respective areas, <Container.Chart/> is designed as a provider that passes instances to the slot after it has mounted.
💻 Sample code
here's how I implemented the solidified layout, everything is functional
🧐 Problem Description
Here's a lovely piece of code ,
<Container.Chart/>
expect to get a function but who is not in props,as you can see, both the
<Container.Title/>
and the<Container.Chart/>
area are displayed in their respective areas,<Container.Chart/>
is designed as a provider that passes instances to the slot after it has mounted.💻 Sample code
here's how I implemented the solidified layout, everything is functional
🚑 Other information
No matter how I pass the argument in
context.slots.default
in FunctionalComponent, it doesn't get passed into the followingconsole.log
The text was updated successfully, but these errors were encountered: