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
If you haven't installed these libraries yet, please follow the installation instructions on their respective documentation pages.
34
-
35
-
## Installation
36
-
37
-
Once you have [react-native-reanimated](https://github.com/software-mansion/react-native-reanimated) and [react-native-safe-area-context](https://github.com/th3rdwave/react-native-safe-area-context) set up in your project, you can install `react-native-header` using `yarn` or `npm`:
38
-
39
-
```sh
40
-
yarn add @codeherence/react-native-header
41
-
```
42
-
43
-
or:
44
-
45
-
```sh
46
-
npm install @codeherence/react-native-header
47
-
```
48
-
49
-
## Example
50
-
51
-
Let's implement a regular ScrollView with a large header:
description: Getting started with React Native Header.
6
+
---
7
+
8
+
importTabsfrom'@theme/Tabs';
9
+
importTabItemfrom'@theme/TabItem';
10
+
11
+
What follows within the Fundamentals section of this documentation is a tour of the most important aspects of React Native Header. It should cover enough for you to know how to begin building.
12
+
13
+
## Compatibility
14
+
15
+
Before using this package, please make sure that you install the correct version of this library for your project. Here is the dependency matrix:
If you haven't installed these libraries yet, please follow the installation instructions on their respective documentation pages.
32
+
33
+
## Installation
34
+
35
+
Once you have [react-native-reanimated](https://github.com/software-mansion/react-native-reanimated) and [react-native-safe-area-context](https://github.com/th3rdwave/react-native-safe-area-context) set up in your project, you can install `react-native-header`:
36
+
37
+
<Tabs
38
+
groupId="env"
39
+
defaultValue="expo"
40
+
values={[
41
+
{label: 'Expo', value: 'expo'},
42
+
{label: 'React Native', value: 'rn'},
43
+
]}>
44
+
<TabItemvalue="rn">
45
+
46
+
```bash
47
+
yarn add @codeherence/react-native-header
48
+
```
49
+
50
+
or
51
+
52
+
```bash
53
+
npm install @codeherence/react-native-header
54
+
```
55
+
56
+
</TabItem>
57
+
<TabItemvalue="expo">
58
+
59
+
```bash
60
+
expo install @codeherence/react-native-header
61
+
```
62
+
</TabItem>
63
+
</Tabs>
64
+
65
+
<br />
66
+
67
+
and that's it! You are now ready to use `react-native-header` in your project.
0 commit comments