A curve is a function that can be passed into other tealess objects that draw lines or paths, such as a LinePath, to change the way the line between points is drawn.
Any function with the prefix curve in d3 can be used through visx like so:
import { curveCatmullRomOpen } from '@visx/curve';
let line = (<Shape.LinePath curve={curveCatmullRomOpen} />)
// or if you want namespace all Curves under the `Curve`
import * as Curve from `@visx/curve`;
let line = (<Shape.LinePath curve={Curve.curveCatmullRomOpen} />)
bun add @tealess/viz-curve