Skip to content

Commit 3088078

Browse files
committed
rename project
1 parent a51fae9 commit 3088078

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ A lightweight React context that leverages [react-resize-detector](https://githu
3434
Install via npm:
3535

3636
```
37-
npm install my-breakpoint-package
37+
npm install react-resize-detector-context
3838
```
3939

4040
---
@@ -47,7 +47,7 @@ Wrap your component tree with the `BreakpointProvider` and provide a breakpoint
4747

4848
```typescript
4949
import React from 'react';
50-
import { BreakpointProvider, useBreakpoint } from 'my-breakpoint-package';
50+
import { BreakpointProvider, useBreakpoint } from 'react-resize-detector-context';
5151

5252
const breakpoints = {
5353
XS: 0,
@@ -94,7 +94,7 @@ Use `BreakpointConditional` to render content only when certain breakpoint condi
9494

9595
```typescript
9696
import React from 'react';
97-
import { BreakpointProvider, BreakpointConditional } from 'my-breakpoint-package';
97+
import { BreakpointProvider, BreakpointConditional } from 'react-resize-detector-context';
9898

9999
const breakpoints = {
100100
XS: 0,
@@ -132,7 +132,7 @@ You can define your own custom breakpoints with any names. For instance, using c
132132

133133
```typescript
134134
import React from 'react';
135-
import { BreakpointProvider, useBreakpoint } from 'my-breakpoint-package';
135+
import { BreakpointProvider, useBreakpoint } from 'react-resize-detector-context';
136136

137137
const carBreakpoints = {
138138
Smart: 0,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "typescript-react-package-starter",
2+
"name": "react-resize-detector-context",
33
"description": "",
44
"version": "0.0.0",
55
"author": "",

0 commit comments

Comments
 (0)