Skip to content

Commit 8e1c17a

Browse files
fix: image modal inputs
1 parent aa3ad2e commit 8e1c17a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

example/src/components/ImageModal.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ export const ImageModal: FC<ImageModalProps> = ({
4444
<TextInput
4545
placeholder="Width"
4646
style={styles.input}
47+
value={width}
4748
onChangeText={setWidth}
4849
/>
4950
<TextInput
5051
placeholder="Height"
5152
style={styles.input}
53+
value={height}
5254
onChangeText={setHeight}
5355
/>
5456
<Button

0 commit comments

Comments
 (0)