Skip to content

Commit

Permalink
feat(website): fix treemap source code for treemap components
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte committed May 29, 2018
1 parent 0def4c3 commit b97c07b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions website/src/components/charts/treemap/TreeMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export default class TreeMap extends Component {
const mappedSettings = propsMapper(settings)

const code = generateCode('ResponsiveTreeMap', mappedSettings, {
dataKey: 'root',
pkg: '@nivo/treemap',
defaults: TreeMapDefaultProps,
})
Expand Down
1 change: 1 addition & 0 deletions website/src/components/charts/treemap/TreeMapCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export default class TreeMapCanvas extends Component {
const mappedSettings = propsMapper(settings)

const code = generateCode('ResponsiveTreeMapCanvas', mappedSettings, {
dataKey: 'root',
pkg: '@nivo/treemap',
defaults: TreeMapCanvasDefaultProps,
})
Expand Down
1 change: 1 addition & 0 deletions website/src/components/charts/treemap/TreeMapHtml.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export default class TreeMapHtml extends Component {
const mappedSettings = propsMapper(settings)

const code = generateCode('ResponsiveTreeMapHtml', mappedSettings, {
dataKey: 'root',
pkg: '@nivo/treemap',
defaults: TreeMapDefaultProps,
})
Expand Down

0 comments on commit b97c07b

Please sign in to comment.