Skip to content

Commit a9d9e98

Browse files
authored
docs: correct function name (#757)
1 parent 725bd87 commit a9d9e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hast-util-to-babel-ast/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ npm install --save-dev @svgr/hast-util-to-babel-ast
1616

1717
```js
1818
import { parse } from 'svg-parser'
19-
import toBabelAST from '@svgr/hast-util-to-babel-ast'
19+
import hastToBabelAst from '@svgr/hast-util-to-babel-ast'
2020

2121
const hastTree = parse(`<svg></svg>`)
2222

0 commit comments

Comments
 (0)