7 lines
176 B
TypeScript
7 lines
176 B
TypeScript
![]() |
import * as React from "react";
|
||
|
|
||
|
export const DateContext = React.createContext<number>(undefined);
|
||
|
const { Provider, Consumer } = DateContext;
|
||
|
|
||
|
export { Consumer, Provider };
|