Skip to content

Commit 6b3db41

Browse files
authored
Updated README to reflect correct usage of GorgeousHeader
The header previously said to import `GorgeousHeader` as just `Gorgeous`, but this was causing an invalid import. Updated the README to reflect correct usage.
1 parent f27a9d5 commit 6b3db41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ npm i @freakycoder/react-native-header-view
6060
## Gorgeous Header Usage
6161

6262
```jsx
63-
import { Gorgeous } from "@freakycoder/react-native-header-view";
63+
import { GorgeousHeader } from "@freakycoder/react-native-header-view";
6464

65-
<Gorgeous onChangeText={(text) => console.log(text)} />;
65+
<GorgeousHeader onChangeText={(text) => console.log(text)} />;
6666
```
6767

6868
## Apple Header Usage

0 commit comments

Comments
 (0)