JSFiddle - React, Tailwind, and code Playground

by nevkatz

JavaScript

class Path {

	constructor(points) {
		this.start = points.start || {x:0,y:0};
		this.end = points.end || {x:0,y:0};
	}
}