Skip to content

Commit a17169e

Browse files
authored
Update README.md
1 parent 7a036fd commit a17169e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ npm install @projectwallace/css-layer-tree
1111
## Usage
1212

1313
```js
14-
import { get_tree } from '@projectwallace/css-layer-tree'
14+
import { layer_tree } from '@projectwallace/css-layer-tree'
1515

1616
let css = `
1717
@import url("test.css") layer;
@@ -25,7 +25,7 @@ let css = `
2525
@layer {}
2626
`
2727

28-
let tree = get_tree(css)
28+
let tree = layer_tree(css)
2929
```
3030

3131
This example would result in this `tree`:

0 commit comments

Comments
 (0)