import React, { FC, ComponentProps } from 'react' import { Typography, TypographyProps } from 'antd' import styled from 'styled-components' type AdditionalParagraphProps = ComponentProps & { level?: 1 | 2; primary?: boolean; } const StyledParagraph = styled(Typography.Paragraph)<{$primary?:boolean}>` ${({ $primary, theme }) => $primary ? `color: ${theme.brandPrimary}` : ''} ` const StyledParagraph2 = styled(Typography.Paragraph)<{ $primary?:boolean }>` font-size: 12px; ${({ $primary, theme }) => $primary ? `color: ${theme.brandPrimary}` : ''} ` export const Paragraph: FC = ({ level = 1, primary, ...props }) => { if (level === 2) { return } return }