import { HTMLAttributes, ReactElement } from 'react';
export interface TextProps extends HTMLAttributes {
children: string | ReactElement;
type?: 'grey' | 'regular';
}
const Text = ({ children, type = 'regular', ...props }: TextProps) => {
return (
{children}
);
};
export default Text;