react-plot
Version:
Library of React components to render SVG 2D plots.
14 lines (9 loc) • 367 B
text/typescript
import { usePlotOverrides } from '../contexts/plotController/plotControllerContext.js';
import type { ControllerHookOptions } from './types.js';
export type UsePlotControllerAxesOptions = ControllerHookOptions;
export function usePlotControllerAxes(
options: UsePlotControllerAxesOptions = {},
) {
const { axes } = usePlotOverrides(options);
return axes;
}