From 1e0f1c0c6200af5d4f9554778341d991b47381da Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Fri, 16 Jul 2021 18:47:19 -0400 Subject: Add styling --- src/components/camera/SaveButton.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/components/camera') diff --git a/src/components/camera/SaveButton.tsx b/src/components/camera/SaveButton.tsx index 104e7c30..d1b87e65 100644 --- a/src/components/camera/SaveButton.tsx +++ b/src/components/camera/SaveButton.tsx @@ -1,18 +1,19 @@ import React from 'react'; -import {Text, TouchableOpacity} from 'react-native'; +import {StyleProp, Text, TouchableOpacity, ViewStyle} from 'react-native'; import SaveIcon from '../../assets/icons/camera/save.svg'; import {styles} from './styles'; interface SaveButtonProps { onPress: () => void; + style?: StyleProp; } /* * Appears when a picture has been taken, * On click, saves the captured image to "Recents" album on device gallery */ -export const SaveButton: React.FC = ({onPress}) => ( - +export const SaveButton: React.FC = ({onPress, style}) => ( + Save -- cgit v1.2.3-70-g09d2