Files
twenty/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx
Kanav Arora ece4dc95bd 3970-label fix (#3974)
label fix
2024-02-16 09:45:37 +01:00

19 lines
517 B
TypeScript

import styled from '@emotion/styled';
type NavigationDrawerSectionTitleProps = {
label: string;
};
const StyledTitle = styled.div`
color: ${({ theme }) => theme.font.color.light};
display: flex;
font-size: ${({ theme }) => theme.font.size.xs};
font-weight: ${({ theme }) => theme.font.weight.semiBold};
padding: ${({ theme }) => theme.spacing(1)};
padding-top: 0;
`;
export const NavigationDrawerSectionTitle = ({
label,
}: NavigationDrawerSectionTitleProps) => <StyledTitle>{label}</StyledTitle>;