Revert "Add yet-another-react-lightbox package and update .gitignore to exclude node_modules"
This reverts commit c92f4a5edd.
This commit is contained in:
28
frontend/node_modules/@svgr/hast-util-to-babel-ast/README.md
generated
vendored
Normal file
28
frontend/node_modules/@svgr/hast-util-to-babel-ast/README.md
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# @svgr/hast-util-to-babel-ast
|
||||
|
||||
[](https://travis-ci.org/smooth-code/svgr)
|
||||
[](https://www.npmjs.com/package/@svgr/hast-util-to-babel-ast)
|
||||
[](https://github.com/smooth-code/svgr/blob/master/LICENSE)
|
||||
|
||||
Transforms HAST into Babel AST.
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
npm install --save-dev @svgr/hast-util-to-babel-ast
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import { parse } from 'svg-parser'
|
||||
import hastToBabelAst from '@svgr/hast-util-to-babel-ast'
|
||||
|
||||
const hastTree = parse(`<svg></svg>`)
|
||||
|
||||
const babelTree = hastToBabelAst(hastTree)
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user