From d0d3b632624e4f6209d667e9e7f1f00c38e53df1 Mon Sep 17 00:00:00 2001 From: Pedro Gomes Date: Thu, 22 Feb 2024 00:31:28 -0300 Subject: [PATCH] =?UTF-8?q?Page=20myTeam=20Button=20Added=20Seller=20?= =?UTF-8?q?=F0=9F=98=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/screens/MyTeam/index.tsx | 5 +++++ src/screens/MyTeam/styles.ts | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/src/screens/MyTeam/index.tsx b/src/screens/MyTeam/index.tsx index 9431072..90aa93f 100644 --- a/src/screens/MyTeam/index.tsx +++ b/src/screens/MyTeam/index.tsx @@ -50,6 +50,11 @@ const MyTeam = () => { )} + {user.job === 'Gerente' && ( + + Adicionar COLABORADOres + + )} ); diff --git a/src/screens/MyTeam/styles.ts b/src/screens/MyTeam/styles.ts index f4ba018..89dc74d 100644 --- a/src/screens/MyTeam/styles.ts +++ b/src/screens/MyTeam/styles.ts @@ -97,3 +97,26 @@ export const Lupa = styled(Image)` width: 18px; height: 18px; `; + +export const BtnAddColaborador = styled(TouchableOpacity)` + width: 90%; + height: 40px; + position: fixed; + bottom: 24px; + background-color: ${theme.colors.secundary.main}; + border: none; + padding: 8px 16px; + display: flex; + justify-content: center; + align-items: center; + margin: 0 auto; + border-radius: 8px; +`; + +export const TextBtn = styled(Text)` + font-family: PoppinsBold; + color: #f8faff; + letter-spacing: 1.25px; + font-size: 14px; + text-transform: uppercase; +`;