From 61739272ef985432f5bba0f076c8a378bc11e50e Mon Sep 17 00:00:00 2001 From: TomChuck10 Date: Sat, 13 Jan 2024 13:02:36 +0100 Subject: [PATCH] Finished secondary button --- src/components/SecondaryButton.tsx | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/components/SecondaryButton.tsx diff --git a/src/components/SecondaryButton.tsx b/src/components/SecondaryButton.tsx new file mode 100644 index 0000000..7182fe1 --- /dev/null +++ b/src/components/SecondaryButton.tsx @@ -0,0 +1,36 @@ +import { Pressable, StyleSheet, Text } from 'react-native'; + +interface buttonProps { + onPress: any; +} + +const SecondaryButton = (param: buttonProps) => { + return ( + + Anuluj + + ); +}; + +const styles = StyleSheet.create({ + button: { + paddingVertical: 10, + paddingHorizontal: 50, + width: 279, + height: 36, + borderRadius: 10, + borderWidth: 1, + borderColor: '#D9D9D9', + gap: 10, + backgroundColor: '#FFFFFF', + }, + text: { + color: '#7A7A7A', + textAlign: 'center', + fontWeight: '400', + fontSize: 12, + lineHeight: 15, + }, +}); + +export default SecondaryButton;