@als-tp/als-react-ts-ui
Version:
A comprehensive React TypeScript UI component library built with Base UI by ALSInnovation
41 lines • 2.21 kB
TypeScript
import * as React from "react";
import { Select } from "@base-ui-components/react/select";
interface ALSSelectRootProps<Value> extends Select.Root.Props<Value> {
}
declare function ALSSelectRoot<Value>(props: ALSSelectRootProps<Value>): import("react/jsx-runtime").JSX.Element;
interface ALSSelectTriggerProps extends Select.Trigger.Props {
placeholder?: string;
/**
* Custom render function for the selected value(s).
* Useful for formatting multiple selections or object values.
*/
renderValue?: Select.Value.Props["render"];
}
interface ALSSelectPortalProps extends Select.Portal.Props {
}
declare function ALSSelectPortal(props: ALSSelectPortalProps): import("react/jsx-runtime").JSX.Element;
interface ALSSelectPositionerProps extends Select.Positioner.Props {
}
interface ALSSelectPopupProps extends Select.Popup.Props {
}
interface ALSSelectItemProps extends Select.Item.Props {
}
interface ALSSelectGroupProps extends Select.Group.Props {
}
interface ALSSelectLabelProps extends Select.GroupLabel.Props {
}
interface ALSSelectSeparatorProps extends Select.Separator.Props {
}
export declare const ALSSelect: {
Root: typeof ALSSelectRoot;
Trigger: React.ForwardRefExoticComponent<ALSSelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
Portal: typeof ALSSelectPortal;
Positioner: React.ForwardRefExoticComponent<ALSSelectPositionerProps & React.RefAttributes<HTMLDivElement>>;
Popup: React.ForwardRefExoticComponent<ALSSelectPopupProps & React.RefAttributes<HTMLDivElement>>;
Item: React.ForwardRefExoticComponent<ALSSelectItemProps & React.RefAttributes<HTMLDivElement>>;
Group: React.ForwardRefExoticComponent<ALSSelectGroupProps & React.RefAttributes<HTMLDivElement>>;
Label: React.ForwardRefExoticComponent<ALSSelectLabelProps & React.RefAttributes<HTMLDivElement>>;
Separator: React.ForwardRefExoticComponent<ALSSelectSeparatorProps & React.RefAttributes<HTMLDivElement>>;
};
export type { ALSSelectRootProps, ALSSelectTriggerProps, ALSSelectPortalProps, ALSSelectPositionerProps, ALSSelectPopupProps, ALSSelectItemProps, ALSSelectGroupProps, ALSSelectLabelProps, ALSSelectSeparatorProps, };
//# sourceMappingURL=index.d.ts.map