Skip to main content

Type Alias: WrapperComponent

WrapperComponent = ComponentType<{ children: ReactNode; ref?: Ref<Gtk.Widget>; }>

Defined in: types.ts:84

A wrapper component that exposes its root GTK widget via ref. Accept ref as a prop and pass it through to the root intrinsic element.