From d11dced1f42985278e56b8def59dd95da3b0ebf5 Mon Sep 17 00:00:00 2001 From: cesarhenrq Date: Wed, 4 Oct 2023 22:05:41 -0300 Subject: [PATCH] refactor: add className and data-cy --- src/components/Text/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Text/index.tsx b/src/components/Text/index.tsx index e1fdac1..6e088a9 100644 --- a/src/components/Text/index.tsx +++ b/src/components/Text/index.tsx @@ -1,7 +1,11 @@ import * as S from './styles'; const Text = (props: TextProps) => { - return {props.label}; + return ( + + {props.label} + + ); }; export default Text;