+
+ {label && (
+
+ {label}
+
+ )}
+ {error && errorMessage && (
+
+ {errorMessage}
+
+ )}
+
+
+
+
+
+ );
};
export default TextArea;
diff --git a/src/components/TextArea/styles.ts b/src/components/TextArea/styles.ts
index 81d027f..8a40780 100644
--- a/src/components/TextArea/styles.ts
+++ b/src/components/TextArea/styles.ts
@@ -1,3 +1,162 @@
import styled, { css } from 'styled-components';
-export const Wrapper = styled.div``;
+type WrapperProps = {
+ color?:
+ | 'client'
+ | 'productOwner'
+ | 'developer'
+ | 'admin'
+ | 'success'
+ | 'warning'
+ | 'error'
+ | 'black'
+ | 'gray'
+ | 'white';
+ error?: boolean;
+ errorMessage?: string;
+ label: string;
+ fullWidth?: boolean;
+};
+
+export const Wrapper = styled.div