diff --git a/MassiveFab.tsx b/MassiveFab.tsx index 7024860..4eea451 100644 --- a/MassiveFab.tsx +++ b/MassiveFab.tsx @@ -17,8 +17,8 @@ export default function MassiveFab(props: Partial>) { color={fabColor} style={{ position: 'absolute', - right: 10, - bottom: 10, + right: 20, + bottom: 20, backgroundColor: color, }} {...props} diff --git a/Select.tsx b/Select.tsx index deb66b1..953dcbf 100644 --- a/Select.tsx +++ b/Select.tsx @@ -1,24 +1,29 @@ -import {Picker} from '@react-native-picker/picker' import {useTheme} from 'react-native-paper' +import RNPickerSelect from 'react-native-picker-select' +import {Item} from 'react-native-picker-select' export default function Select({ value, onChange, - children, + items, }: { value: string onChange: (value: string) => void - children: JSX.Element | JSX.Element[] + items: Item[] }) { const {colors} = useTheme() return ( - - {children} - + ) } diff --git a/SetForm.tsx b/SetForm.tsx index f24286d..507303d 100644 --- a/SetForm.tsx +++ b/SetForm.tsx @@ -151,6 +151,7 @@ export default function SetForm({