This component should be used on simpler lists that don’t require as many columns
as the ListItem
we use for bigger lists. Example usage in ShareModal
on
collaborators list.
<SimpleListItem
heading="Bob Marley"
renderImage={() => {}}
searchWords={[]}
subheading="3 members"
>
<PersonButton buttonKind="green" buttonText="Add" />
</SimpleListItem>
<SimpleListItem
heading="Bob Marley"
renderImage={() => {}}
searchWords={[]}
subheading="3 members"
>
<PersonButton
badgeText="Added"
badgeTooltip="This person is already a collaborator"
buttonKind="ghostDanger"
buttonText="Remove"
isDisabled
/>
</SimpleListItem>
<SimpleListItem
heading="Bob Marley"
renderImage={() => {}}
searchWords={[]}
subheading="3 members"
isLoading
>
<PersonButton buttonKind="green" buttonText="Add" isLoading />
</SimpleListItem>