Browse Source

FormField with optional `flex` props for better layout construction

master
GabrielTrettel 3 years ago
parent
commit
45623e3d7b
  1. 3
      src/app/components/forms/FormField.js

3
src/app/components/forms/FormField.js

@ -106,6 +106,7 @@ function AppFormField({
name,
width,
increaseDecreaseButtons = false,
flex = 0,
...otherProps
}) {
const {
@ -118,7 +119,7 @@ function AppFormField({
} = useFormikContext();
return (
<View>
<View flex={flex}>
<View
style={{
paddingLeft: 16,

Loading…
Cancel
Save