Skip to content

Commit f9dceac

Browse files
author
crstnmac
committed
refactor(text-area): 🎨 rearrange the focus buttons in the demo page
1 parent a72fb8c commit f9dceac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/modules/forms/TextAreaScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ export const TextAreaScreen = () => {
9797
/>
9898
</Box>
9999
<Box style={tailwind.style("flex-row justify-center py-2")}>
100+
<Button onPress={() => ref.current.focus()}>Focus in</Button>
100101
<Button
101102
style={tailwind.style("mr-2")}
102103
onPress={() => ref.current.blur()}
103104
>
104105
Focus out
105106
</Button>
106-
<Button onPress={() => ref.current.focus()}>Focus in</Button>
107107
</Box>
108108
</Box>
109109
</Box>

0 commit comments

Comments
 (0)