Skip to content

Commit

Permalink
v1.0.0 (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
kadiryazici authored Apr 22, 2023
1 parent af9ce25 commit f4b8090
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# 1.0.0
### Features
- Now `items` prop supports nested array of items like Vue/React render function, nested arrays are converted to `vNode[]` in render phase.

```ts
const items = [
item(...),

users.map((user) => item(user)), // Item[],

itemGroup({
key: '__',
items: [
item(...),
[
customItem(...)
]
]
})
]
```

<br>

# 0.5.0
### Features
- Now `itemDefaults` prop accepts a function that has `item` passed as parameter, for type safety `createItemDefaults` is updated as well.
Expand Down

0 comments on commit f4b8090

Please sign in to comment.