|
|
@ -85,7 +85,11 @@ export const ListItem = pure((_props: any) => {
|
|
|
|
} = _props;
|
|
|
|
} = _props;
|
|
|
|
|
|
|
|
|
|
|
|
const leftIconHolder = (leftIcon) ? (
|
|
|
|
const leftIconHolder = (leftIcon) ? (
|
|
|
|
<div className="ListIcon">{leftIcon}</div>
|
|
|
|
<div className="ListIconLeft">{leftIcon}</div>
|
|
|
|
|
|
|
|
) : undefined;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const rightIconHolder = (rightIcon) ? (
|
|
|
|
|
|
|
|
<div className="ListIconRight">{rightIcon}</div>
|
|
|
|
) : undefined;
|
|
|
|
) : undefined;
|
|
|
|
|
|
|
|
|
|
|
|
let textHolder = primaryText;
|
|
|
|
let textHolder = primaryText;
|
|
|
@ -105,6 +109,7 @@ export const ListItem = pure((_props: any) => {
|
|
|
|
{leftIconHolder}
|
|
|
|
{leftIconHolder}
|
|
|
|
{textHolder}
|
|
|
|
{textHolder}
|
|
|
|
{children}
|
|
|
|
{children}
|
|
|
|
|
|
|
|
{rightIconHolder}
|
|
|
|
</ListItemRaw>
|
|
|
|
</ListItemRaw>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
});
|
|
|
|
});
|
|
|
|