import { Colors, Variants } from '../../styles'; import * as React from 'react'; import { StyledContainer, StyledLabel, StyledTextArea, } from './styled-text-area'; interface Props { label?: React.ReactNode; name: string; value?: string; onChange: (e: { target: { value: string } }) => void; fullWidth?: boolean; placeholder?: string; color: Colors; variant: Variants; style?: React.CSSProperties; rows?: number; onSelect: (e: any) => void; } const TextArea = (props: Props) => ( {props.label} ); TextArea.defaultProps = { variant: 'outlined', color: 'primary', onSelect: () => {}, onChange: (e: any) => {}, }; export default TextArea;