From c5deb644c7cdeb4b3ecaff2b6c410b2bd1f1eb74 Mon Sep 17 00:00:00 2001 From: Damian Morales Date: Fri, 12 Apr 2024 12:32:23 -0300 Subject: [PATCH 01/20] crear componente button --- App.tsx | 7 +- env.json | 2 +- src/components/BaseButton/index.test.tsx | 64 ++-------- src/components/BaseButton/index.tsx | 80 ++---------- src/components/Button/index.test.tsx | 0 src/components/Button/index.tsx | 148 +++++++++++++++++++++++ src/components/Button/utils/index.ts | 3 + src/index.ts | 2 + 8 files changed, 174 insertions(+), 132 deletions(-) create mode 100644 src/components/Button/index.test.tsx create mode 100644 src/components/Button/index.tsx create mode 100644 src/components/Button/utils/index.ts diff --git a/App.tsx b/App.tsx index fc82556..2ec347d 100644 --- a/App.tsx +++ b/App.tsx @@ -1,9 +1,10 @@ import React from 'react'; -import {View, Text} from 'react-native'; +import {View} from 'react-native'; +import Button from './src/components/Button'; const App = () => ( - - UI native + +