Skip to content

Commit a9d9e98

Browse files
authoredSep 28, 2022
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

+1-1
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

1 commit comments

Comments
 (1)

vercel[bot] commented on Sep 28, 2022

@vercel[bot]

Successfully deployed to the following URLs:

svgr – ./

svgr-git-main-gregberge.vercel.app
api.react-svgr.com
svgr-gregberge.vercel.app

Please sign in to comment.