react-blueprint-svg
Version:
Pannable, zoomable SVG with menu of displaying options inspired by maker.js.
14 lines (13 loc) • 558 B
TypeScript
import * as React from 'react';
import { FunctionComponent } from 'react';
import * as makerjs from 'makerjs';
import { ActionType } from './actions';
import { OptionState } from './state';
declare const store: React.Context<import("./state").RootState>;
declare const dispatchStore: React.Context<React.Dispatch<ActionType>>;
declare type ProviderProps = {
options?: Partial<OptionState>;
model?: makerjs.IModel | string;
};
declare const StateProvider: FunctionComponent<ProviderProps>;
export { store, dispatchStore, StateProvider };