Skip to content

API Reference / @gtkx/config / ListProp

Type Alias: ListProp

ListProp = z.infer<typeof listSchema>

Defined in: element-props.d.ts:166

Rule mapping an array prop to method calls: add runs per added item (a single call, or a sequence of calls applied in order when one item needs several), remove per removed item, and clear empties the collection before re-adding.

Released under the MPL-2.0 License.