diff --git a/src/components/List/ListItem.tsx b/src/components/List/ListItem.tsx index 40e50d8b..31d1d69c 100644 --- a/src/components/List/ListItem.tsx +++ b/src/components/List/ListItem.tsx @@ -81,10 +81,12 @@ export interface ListItemProps extends React.ComponentPropsWithoutRef<'li'> { children?: React.ReactNode; disabled?: boolean; icon?: React.ComponentType>; + iconClassName?: string; onClick?: any; secondaryText?: string; text?: string; trailingIcon?: React.ComponentType>; + trailingIconClassName?: string; } export const ListItem = React.forwardRef( @@ -95,10 +97,12 @@ export const ListItem = React.forwardRef( children, disabled, icon: Icon, + iconClassName, onClick, secondaryText, text, trailingIcon: TrailingIcon, + trailingIconClassName, ...rootProps }, ref @@ -121,7 +125,7 @@ export const ListItem = React.forwardRef( @@ -146,7 +150,11 @@ export const ListItem = React.forwardRef(