feat(actions): simplify action corner api through the toolbarService (#5033)
This commit is contained in:
1 parent
f71b88e639
commit
7c15bb8901
246 files changed
+7930
-4270
No files matched your search
@@ -119,7 +119,13 @@ const SelectItem = React.forwardRef<
|
||||
<CheckIcon className="h-4 w-4" />
|
||||
</SelectPrimitive.ItemIndicator>
|
||||
</span>
|
||||
<SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
|
||||
{typeof children === 'string' ? (
|
||||
<SelectPrimitive.ItemText>
|
||||
<span className="truncate">{children}</span>
|
||||
</SelectPrimitive.ItemText>
|
||||
) : (
|
||||
children
|
||||
)}
|
||||
</SelectPrimitive.Item>
|
||||
));
|
||||
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
||||
|
||||
Reference in new issue
Block a user