10 lines
404 B
TypeScript
10 lines
404 B
TypeScript
import * as React from "react";
|
|
import type { SandpackContext, SandpackProviderProps } from "../types";
|
|
declare const Sandpack: React.Context<SandpackContext | null>;
|
|
export declare const SandpackProvider: React.FC<SandpackProviderProps>;
|
|
/**
|
|
* @category Provider
|
|
*/
|
|
declare const SandpackConsumer: React.Consumer<SandpackContext | null>;
|
|
export { SandpackConsumer, Sandpack as SandpackReactContext };
|