diff --git a/packages/code-studio/src/styleguide/ListViews.tsx b/packages/code-studio/src/styleguide/ListViews.tsx index f8fcb4ae8a..d52fe3672e 100644 --- a/packages/code-studio/src/styleguide/ListViews.tsx +++ b/packages/code-studio/src/styleguide/ListViews.tsx @@ -14,16 +14,12 @@ import { generateNormalizedItems, sampleSectionIdAndClasses } from './utils'; // Generate enough items to require scrolling const itemsSimple = [...generateNormalizedItems(52)]; -function AccountIcon({ - slot, -}: { - slot?: 'illustration' | 'image'; -}): JSX.Element { +function AccountIllustration(): JSX.Element { return ( // Images in ListView items require a slot of 'image' or 'illustration' to // be set in order to be positioned correctly: // https://github.com/adobe/react-spectrum/blob/784737effd44b9d5e2b1316e690da44555eafd7e/packages/%40react-spectrum/list/src/ListViewItem.tsx#L266-L267 - + ); @@ -62,19 +58,19 @@ export function ListViews(): JSX.Element { selectionMode="multiple" > - + Item with icon A - + Item with icon B - + Item with icon C - + Item with icon D with overflowing content