Skip to content

Commit 59286f5

Browse files
feat: up to scoped lib
1 parent 5d8cd12 commit 59286f5

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react-easy-context-api
1+
# @nexpy/react-easy-context-api
22

33
[![npm](https://img.shields.io/npm/v/react-easy-context-api)](https://www.npmjs.com/package/react-easy-context-api)
44
[![size](https://img.shields.io/bundlephobia/minzip/react-easy-context-api)](https://bundlephobia.com/result?p=react-easy-context-api)

examples/cats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom'
44
// cats-context.tsx
55
import { useState, FC, Dispatch, SetStateAction } from 'react'
66

7-
import { createContext } from 'react-easy-context-api'
7+
import { createContext } from '@nexpy/react-easy-context-api'
88

99
type MyContext = {
1010
pettedCats: number

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-easy-context-api",
2+
"name": "@nexpy/react-easy-context-api",
33
"description": "A simple way to create, consume and manipulate contexts from react context API.",
44
"keywords": [
55
"context-api",

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type ProviderProps<Value> = PropsWithChildren<{
1919
* @param defaultValue Value
2020
*
2121
* @example
22-
* import { createContext } from 'react-easy-context-api'
22+
* import { createContext } from '@nexpy/react-easy-context-api'
2323
*
2424
* type PersonContext = {
2525
* firstName: string

0 commit comments

Comments
 (0)