mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-05 06:43: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;
|