SidebarItem: centre icons

This commit is contained in:
Matilde Park 2021-02-26 13:25:50 -05:00
parent e266273ff1
commit f0e1a24b42

View File

@ -34,7 +34,7 @@ export const SidebarItem = ({
justifyContent="space-between" justifyContent="space-between"
{...rest} {...rest}
> >
<Row> <Row alignItems="center">
<Icon color={color} icon={icon as any} mr="2" /> <Icon color={color} icon={icon as any} mr="2" />
<Text color={color}>{text}</Text> <Text color={color}>{text}</Text>
</Row> </Row>