Files
twenty/packages/twenty-front/src/modules/auth/components/SubTitle.tsx
T
2023-12-10 18:10:54 +01:00

15 lines
344 B
TypeScript

import { JSX, ReactNode } from 'react';
import styled from '@emotion/styled';
type SubTitleProps = {
children: ReactNode;
};
const StyledSubTitle = styled.div`
color: ${({ theme }) => theme.font.color.secondary};
`;
export const SubTitle = ({ children }: SubTitleProps): JSX.Element => (
<StyledSubTitle>{children}</StyledSubTitle>
);