Skip to content

API Reference / @gtkx/components / ChildProps

Type Alias: ChildProps<C, Placement>

ChildProps<C, Placement> = Placement & object & Omit<ComponentPropsWithRef<C>, keyof Placement>

Defined in: types.d.ts:4

Props of a container's Child component: the widget to render, its own props, and any placement props.

Type Declaration

component

component: C

Type Parameters

C

C extends ElementType

Placement

Placement = unknown

Released under the MPL-2.0 License.