REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 679 B
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@hypnosphi/create-react-context/lib/index.js.flow
Text
Base64
// @flow import { Component, type Node } from 'react'; type RenderFn<T> = (value: T) => Node; export type ProviderProps<T> = { value: T, children?: Node }; export type ConsumerProps<T> = { children: RenderFn<T> | [RenderFn<T>], observedBits?: number }; export type ConsumerState<T> = { value: T }; export type Provider<T> = Component<ProviderProps<T>>; export type Consumer<T> = Component<ConsumerProps<T>, ConsumerState<T>>; export type Context<T> = { Provider: Class<Provider<T>>, Consumer: Class<Consumer<T>> }; declare export default function createReactContext<T>( defaultValue: T, calculateChangedBits?: (prev: T, next: T) => number ): Context<T>;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
implementation.js
6.63 KB
lrw-r--r--
2026-02-28 00:27:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.d.ts
535 B
lrw-r--r--
2026-02-28 00:27:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
449 B
lrw-r--r--
2026-02-28 00:27:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js.flow
679 B
lrw-r--r--
2026-02-28 00:27:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).