Skip to content

Commit 355826c

Browse files
committed
chore: ✨ added button example
1 parent 41c35a5 commit 355826c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

example/src/AppRoot.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
Close,
1111
DefaultUser,
1212
Icon,
13+
Image,
1314
useTheme,
1415
} from "@adaptui/react-native-tailwind";
1516
import { createDrawerNavigator } from "@react-navigation/drawer";
@@ -51,6 +52,9 @@ function ButtonScreen() {
5152
icon={<Icon icon={<CaretRight />} />}
5253
style={tailwind.style("my-1")}
5354
/>
55+
<Button style={tailwind.style("my-1")} prefix={<Icon icon={<Image />} />}>
56+
Upload Image
57+
</Button>
5458
</Box>
5559
);
5660
}

0 commit comments

Comments
 (0)