You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,30 @@ export default App;
44
44
45
45
```
46
46
47
+
## Further Instructions
48
+
49
+
### Fonts Loading (Android)
50
+
Our components look well with the Inter font on Android.
51
+
52
+
You can pick the fonts from [here](../font-assets/)
53
+
54
+
And link and load it up in your React Native project using [expo-font](https://docs.expo.dev/versions/latest/sdk/font/) library if using Expo.
55
+
56
+
The library works well with bare React Native workflow too.
57
+
58
+
Check out blogs on getting to know about [Adding Fonts to React Native](https://medium.com/@_iam_karthik/list/adding-fonts-to-react-native-93aee6bace40) in our [Publication](https://medium.com/timeless).
59
+
60
+
### Haptics
61
+
62
+
Haptics is a technology that allows devices to provide tactile feedback to users, simulating the sense of touch. So it can be used to enhance the user experience in a variety of ways, such as providing feedback when a button is pressed, alerting the user to an event, or guiding the user through a task.
63
+
64
+
In AdaptUI we have enabled the Haptics to all our Tappable components (Button, Tag, Radio, Checkbox and Switch) through [expo-haptics](https://docs.expo.dev/versions/latest/sdk/haptics/).
65
+
66
+
You will have to install this as a dependency to get your haptics working on our Tappable components.
67
+
68
+
You can use the haptics through our hook [`useHaptics`](../src//utils//useHaptic.ts)
0 commit comments