Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 20, 2021
1 parent 1d6f2d3 commit ed2e196
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { useEffect } from 'react';
import { select, selectAll } from 'd3-selection';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
export default function Home() {
useEffect(function() {
new MyClass();
}, []);
return(/*#__PURE__*/ React.createElement("svg", null, /*#__PURE__*/ React.createElement("g", {
className: "group"
}, /*#__PURE__*/ React.createElement("path", null), /*#__PURE__*/ React.createElement("path", null)), /*#__PURE__*/ React.createElement("g", {
className: "group"
}, /*#__PURE__*/ React.createElement("path", null), /*#__PURE__*/ React.createElement("path", null))));
};
var MyClass = function MyClass() {
"use strict";
_classCallCheck(this, MyClass);
selectAll('.group').each(function() {
select(this).selectAll('path');
});
};

0 comments on commit ed2e196

Please sign in to comment.