mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-29 03:53:43 +03:00
8 lines
306 B
TypeScript
8 lines
306 B
TypeScript
import * as React from 'react';
|
|
|
|
import { RedocNormalizedOptions } from '../services/RedocNormalizedOptions';
|
|
|
|
export const OptionsContext = React.createContext(new RedocNormalizedOptions({}));
|
|
export const OptionsProvider = OptionsContext.Provider;
|
|
export const OptionsConsumer = OptionsContext.Consumer;
|