diff options
Diffstat (limited to 'src/unstated-next.tsx')
-rw-r--r-- | src/unstated-next.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unstated-next.tsx b/src/unstated-next.tsx index b19f8ba..94e9c79 100644 --- a/src/unstated-next.tsx +++ b/src/unstated-next.tsx @@ -1,10 +1,10 @@ import React from "react" -interface ContainerProviderProps { +export interface ContainerProviderProps { children: React.ReactNode } -interface Container<Value> { +export interface Container<Value> { Provider: React.ComponentType<ContainerProviderProps> useContainer: () => Value } |