+
+
+ {slots.leadingVisual}
+
+
+
+
+
+ {childrenWithoutSlots}
+ {/* Loading message needs to be in here so it is read with the label */}
+ {loading === true && Loading}
+
+ {/* {console.log(slots.inlineDescription)} */}
+ {/* {console.log(slots.blockDescription)} */}
+ {console.log(slots.description)}
+ {/* {slots.inlineDescription} */}
+ {/* {slots.blockDescription} */}
+ {slots.description}
+
+
+ {trailingVisual}
+
+
+ {
+ // If the item is inactive, but it's not in an overlay (e.g. ActionMenu, SelectPanel),
+ // render the inactive warning message directly in the item.
+ inactive && container ? {inactiveText} : null
+ }
+ {/* {slots.blockDescription} */}
+
+
+ {!inactive && !loading && !menuContext && Boolean(slots.trailingAction) && slots.trailingAction}
+