16 lines
465 B
Markdown
16 lines
465 B
Markdown
|
|
---
|
||
|
|
title: usePropertyList
|
||
|
|
description: Primitive context helper for PropertyListRoot descendants.
|
||
|
|
---
|
||
|
|
|
||
|
|
# usePropertyList
|
||
|
|
|
||
|
|
`usePropertyList()` reads the local property-list context provided by `PropertyListRoot`.
|
||
|
|
|
||
|
|
Use it inside descendants that need current items, mixed-state info, or row-level handlers for fills, strokes, or effects.
|
||
|
|
|
||
|
|
## Related APIs
|
||
|
|
|
||
|
|
- [PropertyListRoot](../components/property-list-root)
|
||
|
|
- [PropertyListItem](../components/property-list-item)
|