Clear git cache

This commit is contained in:
Hazem Krimi
2023-05-28 16:43:53 +01:00
parent bd462d7fb7
commit 2a71d7927c
179 changed files with 0 additions and 29069 deletions
-38
View File
@@ -1,38 +0,0 @@
import { Wrapper } from './styles';
type TextProps = {
children?: React.ReactNode | JSX.Element | string;
className?: string;
variant?: 'display' | 'headline' | 'title' | 'subheader' | 'body' | 'caption';
color?:
| 'client'
| 'productOwner'
| 'developer'
| 'admin'
| 'success'
| 'warning'
| 'error'
| 'black'
| 'white'
| string;
align?: 'inherit' | 'left' | 'center' | 'right' | 'justify';
display?: 'initial' | 'block' | 'inline';
gutterBottom?: boolean;
lineThrough?: boolean;
weight?: 'initial' | 'normal' | 'bold' | number;
};
const Text = ({
children,
variant = 'body',
className,
...props
}: TextProps) => {
return (
<Wrapper className={`${variant} ${className}`} {...props}>
{children}
</Wrapper>
);
};
export default Text;