main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
573 bytes
|
Rev | Line | |
---|
[d565449] | 1 | /// <reference types="react" />
|
---|
| 2 | declare const createStateContext: <T>(defaultInitialValue: T) => readonly [() => [T, import("react").Dispatch<import("react").SetStateAction<T>>], ({ children, initialValue, }: {
|
---|
| 3 | children?: React.ReactNode;
|
---|
| 4 | initialValue?: T | undefined;
|
---|
| 5 | }) => import("react").FunctionComponentElement<import("react").ProviderProps<[T, import("react").Dispatch<import("react").SetStateAction<T>>] | undefined>>, import("react").Context<[T, import("react").Dispatch<import("react").SetStateAction<T>>] | undefined>];
|
---|
| 6 | export default createStateContext;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.