@assistant-ui/react
Version:
React components for AI chat.
20 lines • 1.21 kB
TypeScript
import { Primitive } from "@radix-ui/react-primitive";
import { type ElementRef, ComponentPropsWithoutRef } from "react";
/**
* @deprecated Use `BranchPickerPrimitive.Root.Props` instead. This will be removed in 0.6.
*/
export type BranchPickerPrimitiveRootProps = BranchPickerPrimitiveRoot.Props;
export declare namespace BranchPickerPrimitiveRoot {
type Element = ElementRef<typeof Primitive.div>;
type Props = ComponentPropsWithoutRef<typeof Primitive.div> & {
hideWhenSingleBranch?: boolean | undefined;
};
}
export declare const BranchPickerPrimitiveRoot: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
} & {
asChild?: boolean;
}, "ref"> & {
hideWhenSingleBranch?: boolean | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=BranchPickerRoot.d.ts.map