mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
12 lines
323 B
TypeScript
12 lines
323 B
TypeScript
import { ReactNode, ReactElement } from 'react';
|
|
export declare enum State {
|
|
Open = 0,
|
|
Closed = 1
|
|
}
|
|
export declare function useOpenClosed(): State | null;
|
|
interface Props {
|
|
value: State;
|
|
children: ReactNode;
|
|
}
|
|
export declare function OpenClosedProvider({ value, children }: Props): ReactElement;
|
|
export {};
|