Skip to content

Commit

Permalink
fix(website): fix website Stream example code (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte committed May 15, 2018
1 parent 8ec91a6 commit 129572e
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions website/src/components/charts/stream/Stream.js
Expand Up @@ -53,10 +53,17 @@ export default class Stream extends Component {

const mappedSettings = propsMapper(settings)

const code = generateCode('ResponsiveStream', mappedSettings, {
pkg: '@nivo/stream',
defaults: StreamDefaultProps,
})
const code = generateCode(
'ResponsiveStream',
{
keys,
...mappedSettings,
},
{
pkg: '@nivo/stream',
defaults: StreamDefaultProps,
}
)

const header = <ChartHeader chartClass="Stream" tags={['stacked', 'isomorphic']} />

Expand Down

0 comments on commit 129572e

Please sign in to comment.