@ichooss/xflow
Version:
[English (US)](README.md) | 简体中文
20 lines • 700 B
TypeScript
import React from 'react';
import 'tippy.js/dist/tippy.css';
import '../styles/index.less';
export declare enum ControlEnum {
ZoomTo = "zoomTo",
ZoomIn = "zoomIn",
ZoomOut = "zoomOut",
ZoomToFit = "zoomToFit",
ZoomToOrigin = "zoomToOrigin"
}
declare const ControlActionList: readonly ["zoomTo", "zoomIn", "zoomOut", "zoomToFit", "zoomToOrigin"];
type ControlAction = (typeof ControlActionList)[number];
interface ControlIProps {
items: ControlAction[];
direction?: 'horizontal' | 'vertical';
placement?: 'top' | 'right' | 'bottom' | 'left';
}
declare const Control: (props: ControlIProps) => React.JSX.Element;
export { Control };
//# sourceMappingURL=Control.d.ts.map