UNPKG

70-react-network-diagrams

Version:
20 lines (19 loc) 666 B
import { default as React } from 'react'; /** * An equipment is an svg rect that needs to know its width, height, and style. * It receives its x and y starting position from the parent rack element, or a * default derived from a specified offset value. * * It takes a label as well in the form of a string or list of strings if multilines are desired */ export class EquipmentBase extends React.Component<any, any, any> { constructor(props: any); state: { yOffset: number; xOffset: number; pxToInch: number; labelStyle: any; }; handleClick(e: any): void; render(): import("react/jsx-runtime").JSX.Element; }