@atomize/context
Advanced tools
Comparing version 0.1.2 to 0.2.1
@@ -11,3 +11,3 @@ import React from "react"; | ||
export declare const createContext: AtomizeCreateContext; | ||
declare type AtomizeCreateProvider = <T = unknown>(context: React.Context<T>, computeProviderValues: () => T) => React.ComponentType; | ||
declare type AtomizeCreateProvider = <T = unknown>(context: React.Context<T>, computeProviderValue: () => T) => React.ComponentType; | ||
export declare const createProvider: AtomizeCreateProvider; | ||
@@ -14,0 +14,0 @@ declare type AtomizeCreateDefaultContextState = <T>(defaultValue?: T) => ContextState<T>; |
{ | ||
"name": "@atomize/context", | ||
"version": "0.1.2", | ||
"version": "0.2.1", | ||
"description": "Opinionated React Context Toolbox", | ||
@@ -30,3 +30,2 @@ "main": "dist/context.js", | ||
"start": "microbundle-crl watch --no-compress --format modern,cjs", | ||
"prepublish": "run-s build", | ||
"lint": "eslint './lib/*.{ts,tsx}'" | ||
@@ -65,3 +64,3 @@ }, | ||
}, | ||
"gitHead": "08dd5f4d0ef9b17e5a440494ec489960f9167007" | ||
"gitHead": "0e6c25dd8f85f3b291917939fcf2309e784ac883" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13041
11