wykrestest
Version:
Candlestick Chart made with Konva, React and Jotai
6 lines (5 loc) • 428 B
JavaScript
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import { Line } from 'react-konva';
export const Border = ({ dims }) => {
return (_jsxs(_Fragment, { children: [_jsx(Line, { points: [0, dims.heightSub, dims.widthSub, dims.heightSub], stroke: 'black', strokeWidth: 1 }), _jsx(Line, { points: [dims.widthSub, 0, dims.widthSub, dims.heightSub], stroke: 'black', strokeWidth: 1 })] }));
};