@dxos/react-ui
    Preparing search index...

    Function composableProps

    • Reconciles className properties from a parent slot.

      • className is injected at runtime by the asChild merge; it is absent from ComposableProps so consumers cannot pass it, hence the widened parameter type here.
      • classNames is the consumer-facing prop for theming overrides. Use composableProps to reconcile both into a single className.

      Type Parameters

      • P extends HTMLElement = HTMLElement

      Parameters

      • __namedParameters: Omit<{}, "className"> & { classNames?: ClassNameValue } & Pick<
            HTMLAttributes<Element>,
            "role" | "children" | "style",
        > & { className?: string }
      • __namedParameters: undefined | ThemedClassName<Partial<HTMLAttributes<P>>> = {}

      Returns {
          children?: ReactI18NextChild | Iterable<ReactI18NextChild, any, any>;
          className: string;
          role?: AriaRole;
          style: CSSProperties;
      }