提交 1df8313b 编写于 作者: M Mateusz Zatorski

add syntax highlighting to the readme

上级 85493f22
......@@ -23,9 +23,13 @@ The biggest feature or difference is helping you write charts in React applicati
## Examples
```
<LineChart width={400} height={400} data={data}
margin={{top: 5, right: 20, left: 10, bottom: 5}}>
```jsx
<LineChart
width={400}
height={400}
data={data}
margin={{ top: 5, right: 20, left: 10, bottom: 5 }}
>
<XAxis dataKey='name' />
<Tooltip />
<CartesianGrid stroke='#f5f5f5' />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册