Skip to content

API Reference / @gtkx/config / ContainerProp

Type Alias: ContainerProp

ContainerProp = z.infer<typeof containerSchema>

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

Rule describing how children of a given type are attached to and removed from a container element. prop is the React prop holding the children and child the child GObject type. append/remove add and remove a child, insert places one at an index or after a sibling, reorder moves an existing child, autowrap names a widget type each child is wrapped in before attaching, and adopt marks pre-existing children as adopted (true) or names the getter returning them.

Released under the MPL-2.0 License.