Skip to content

Commit

Permalink
docs: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Nov 4, 2021
1 parent 64387c9 commit fd10d5f
Showing 1 changed file with 41 additions and 14 deletions.
55 changes: 41 additions & 14 deletions packages/docs/docs/components/numbers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,17 @@ function Example() {
<LineChart value={data[1]} scale={stats.scale} color={stats.color} format={stats.format} />
<LineChart value={data[2]} scale={stats.scale} color={stats.color} format={stats.format} />

<LineChart value={data[0]} scale={stats.scale} color={stats.color} format={stats.format} fill/>
<LineChart value={data[1]} scale={stats.scale} color={stats.color} format={stats.format} fill/>
<LineChart value={data[2]} scale={stats.scale} color={stats.color} format={stats.format} fill/>
<LineChart value={data[0]} scale={stats.scale} color={stats.color} format={stats.format} fill />
<LineChart value={data[1]} scale={stats.scale} color={stats.color} format={stats.format} fill />
<LineChart value={data[2]} scale={stats.scale} color={stats.color} format={stats.format} fill />

<LineChart value={data[0]} scale={stats.scale} color={stats.color} format={stats.format} gradient/>
<LineChart value={data[1]} scale={stats.scale} color={stats.color} format={stats.format} gradient/>
<LineChart value={data[2]} scale={stats.scale} color={stats.color} format={stats.format} gradient/>
<LineChart value={data[0]} scale={stats.scale} color={stats.color} format={stats.format} gradient />
<LineChart value={data[1]} scale={stats.scale} color={stats.color} format={stats.format} gradient />
<LineChart value={data[2]} scale={stats.scale} color={stats.color} format={stats.format} gradient />

<LineChart value={data[0]} scale={stats.scale} color={stats.color} format={stats.format} fill gradient/>
<LineChart value={data[1]} scale={stats.scale} color={stats.color} format={stats.format} fill gradient/>
<LineChart value={data[2]} scale={stats.scale} color={stats.color} format={stats.format} fill gradient/>
<LineChart value={data[0]} scale={stats.scale} color={stats.color} format={stats.format} fill gradient />
<LineChart value={data[1]} scale={stats.scale} color={stats.color} format={stats.format} fill gradient />
<LineChart value={data[2]} scale={stats.scale} color={stats.color} format={stats.format} fill gradient />
</div>
);
}
Expand Down Expand Up @@ -134,7 +134,6 @@ function Example() {
}
```


[`MultiLineChart`](https://lineup-lite.js.org/api/components/modules.html#multilinechart) React component

```jsx live
Expand All @@ -153,10 +152,38 @@ function Example() {

return (
<div>
<MultiLineChart value={data} format={stats.format} scale={stats.scale} color={stats.color} style={{ height: 100 }} />
<MultiLineChart value={data} format={stats.format} scale={stats.scale} color={stats.color} style={{ height: 100 }} fill />
<MultiLineChart value={data} format={stats.format} scale={stats.scale} color={stats.color} style={{ height: 100 }} gradient/>
<MultiLineChart value={data} format={stats.format} scale={stats.scale} color={stats.color} style={{ height: 100 }} fill gradient/>
<MultiLineChart
value={data}
format={stats.format}
scale={stats.scale}
color={stats.color}
style={{ height: 100 }}
/>
<MultiLineChart
value={data}
format={stats.format}
scale={stats.scale}
color={stats.color}
style={{ height: 100 }}
fill
/>
<MultiLineChart
value={data}
format={stats.format}
scale={stats.scale}
color={stats.color}
style={{ height: 100 }}
gradient
/>
<MultiLineChart
value={data}
format={stats.format}
scale={stats.scale}
color={stats.color}
style={{ height: 100 }}
fill
gradient
/>
</div>
);
}
Expand Down

0 comments on commit fd10d5f

Please sign in to comment.