cad-viewer
Simple component, that renders a svg which represents 2D machining data and offers tools to measure and check the data.
Usage
import "React"
import {CadViewer} from "cad-viewer"
const Component: React.FC<{svg: string}> = ({svg}) => {
let svgAsUrl = `data:image/svg+xml;utf8,${svg}`
return <CadViewer src={svgAsUrl}/>
}