Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bartveneman authored Nov 12, 2024
1 parent 7a036fd commit a17169e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ npm install @projectwallace/css-layer-tree
## Usage

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

let css = `
@import url("test.css") layer;
Expand All @@ -25,7 +25,7 @@ let css = `
@layer {}
`

let tree = get_tree(css)
let tree = layer_tree(css)
```

This example would result in this `tree`:
Expand Down

0 comments on commit a17169e

Please sign in to comment.