Skip to content

Commit 0e127cd

Browse files
committed
chore: rename package
1 parent fd6d767 commit 0e127cd

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ A lightweight implementation that exposes [Android's system UI visibility API](h
99
## Installation
1010

1111
```sh
12-
yarn install @hudl/rn-system-bars
12+
yarn install react-native-system-bars
1313
```
1414

1515
## Usage
1616

1717
```typescript
18-
import AndroidSystemBars from "@hudl/rn-system-bars";
18+
import AndroidSystemBars from "react-native-system-bars";
1919

2020
// Go immersive (i.e. hide status bar and nav bar)
2121
AndroidSystemBars.setSystemUIVisibility(

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rn-system-bars-example",
3-
"description": "Example app for @hudl/rn-system-bars",
3+
"description": "Example app for react-native-system-bars",
44
"version": "0.0.1",
55
"private": true,
66
"scripts": {

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useCallback } from 'react';
22
import { StyleSheet, View, Button } from 'react-native';
33

4-
import AndroidSystemBars from '@hudl/rn-system-bars';
4+
import AndroidSystemBars from 'react-native-system-bars';
55

66
export default function App() {
77
const onImmersivePress = useCallback(() => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@hudl/rn-system-bars",
2+
"name": "react-native-system-bars",
33
"version": "0.2.0",
44
"description": "Control the visibility of Android's Status and Navigation Bars",
55
"main": "lib/commonjs/index",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"baseUrl": "./",
44
"paths": {
5-
"@hudl/rn-system-bars": ["./src/index"]
5+
"react-native-system-bars": ["./src/index"]
66
},
77
"allowUnreachableCode": false,
88
"allowUnusedLabels": false,

0 commit comments

Comments
 (0)