Closed
Description
The component props of ActionList.Item
suggest that trailingIcon can be either an icon or similar.
/**
* Icon (or similar) positioned after `Item` text.
*/
trailingIcon?: React.FunctionComponent<IconProps>
Would a Label
be considered appropriate usage for this? If so, should we update props to allow more generic usage?
In addition to this, leadingVisual
has the same definition but it's name ("Visual") suggest a more generic usage, I'm wondering if this differentiation in name is still appropriate.
/**
* Icon (or similar) positioned before `Item` text.
*/
leadingVisual?: React.FunctionComponent<IconProps>
In effect, this is what I'm envisioning: