import * as React from 'react'; import { CubicBezierCurve, pathFromBezierCurve } from '../utils/formulas'; const CannonBase = () => { const cannonBaseStyle: React.CSSProperties = { fill: '#a16012', stroke: '#75450e', strokeWidth: '2px' }; const baseWidth = 80; const halfBase = 40; const height = 60; const negativeHeight = height * -1; const cubicBezierCurve: CubicBezierCurve = { initialAxis: { x: -halfBase, y: height }, initialControlPoint: { x: 20, y: negativeHeight }, endingControlPoint: { x: 60, y: negativeHeight }, endingAxis: { x: baseWidth, y: 0 } }; return ( ); } export default CannonBase;