Skip to content

Commit 1336045

Browse files
committed
docs: update README.md
1 parent 23797b3 commit 1336045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const config: LineChartProps = {
6060

6161
export default () => {
6262
const chartRef = useRef()
63-
return <LineChart {...config} ref={chartRef} />
63+
return <LineChart {...config} chartRef={chartRef} />
6464
}
6565
```
6666

0 commit comments

Comments
 (0)