chore: use Text

This commit is contained in:
Fabio Berger
2018-10-19 19:38:12 +01:00
parent bce9031868
commit ce4da870d7

View File

@@ -27,9 +27,9 @@ export const NestedSidebarMenu = (props: NestedSidebarMenuProps) => {
// tslint:disable-next-line:no-unused-variable // tslint:disable-next-line:no-unused-variable
return ( return (
<div key={`section-${sectionName}`} className="py1" style={{ color: colors.greyTheme }}> <div key={`section-${sectionName}`} className="py1" style={{ color: colors.greyTheme }}>
<div style={{ fontSize: 14, letterSpacing: 0.5 }} className="py1 pl1"> <Text fontSize="14px" letterSpacing="0.5" className="py1 pl1">
{finalSectionName.toUpperCase()} {finalSectionName.toUpperCase()}
</div> </Text>
{menuItems} {menuItems}
</div> </div>
); );