Add narrative styling options to store

This commit is contained in:
Franc Camps-Febrer
2018-11-26 15:46:25 -05:00
parent 16625ba1f1
commit b658356448
5 changed files with 126 additions and 104 deletions

View File

@@ -24,12 +24,8 @@ class Viewport extends React.Component {
select: this.props.select,
mapAnchor: this.props.mapAnchor
}
const ui = {
groupColors: this.props.groupColors,
dom: this.props.dom
}
this.map = new Map(app, ui);
this.map = new Map(app, this.props.ui);
this.map.update(domain, app);
}