-
Hi there! I'm trying to understand exactly how
What is In all the invocations of Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes that is correct, here is an example of this. As you can see in this story, there are two View doesn't have a default slot since it is a more generic container rather than a commonly used component that is slotted within one of our components. |
Beta Was this translation helpful? Give feedback.
Yes that is correct, here is an example of this. As you can see in this story, there are two
Text
elements, one without aslot
prop defined (and thus has the default "text" slot) and one withslot="description"
. This allows us to send the proper classNames/props to each so that one renders as the main ListBox's option's text and the other as the option's description:View doesn't have a default slot since it is a more generic container rather than a commonly used component that is slotted within one of our components.