Skip to content

Commit 43b8482

Browse files
committed
Ensures library-specific class naming
1 parent 3be4ebd commit 43b8482

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Tree/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ export default class Tree extends React.Component {
219219
const { nodes, links } = this.generateTree();
220220

221221
return (
222-
<div className="treeContainer">
223-
<svg className="svg" width="100%" height="100%">
222+
<div className="rd3t-tree-container">
223+
<svg className="rd3t-svg" width="100%" height="100%">
224224
<TransitionGroup
225225
component="g"
226226
transform={`translate(${translate.x},${translate.y})`}

src/Tree/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.treeContainer {
1+
.rd3t-tree-container {
22
width: 100%;
33
height: 100%;
4-
}
4+
}

0 commit comments

Comments
 (0)