Practic BUI (Base UI) - v1.0.0
    Preparing search index...
    • The values a compound widget's item parts offer, in the order they mount, so its root can read a stored value back as one still offered (a tab that is gone falls back to the first, an option that is gone reads as none), as Base UI's own Tabs does with its tabs. null until the parts have mounted, so the first render shows the stored value as it is.

      In development, a root whose parts never register warns once: its item parts are plain styled ones (Tabs.Tab inside TabsWidget.Root), so stored values go unchecked.

      Parameters

      • names: { part: string; root: string }

        The widget's root and item part, as the warning names them.

        • part: string

          Such as TabsWidget.Tab.

        • root: string

          Such as TabsWidget.Root.

      Returns { provide: (children: ReactNode) => Element; values: readonly string[] | null }

      The values, and the provider the root wraps its parts in.

      • provide: (children: ReactNode) => Element

        Gives the root's parts the registry.

      • values: readonly string[] | null