import * as React from 'react' ; import { CandlestickChartContext } from './Context' ; import type { TContext } from './types' ; export function useCandlestickChart ( ) { return React . useContext ( CandlestickChartContext ) ; }