UNPKG

@synergycodes/axiom

Version:

A React library for creating node-based UIs and diagram-driven applications. Perfect for React Flow users, providing ready-to-use node templates and components that work seamlessly with React Flow's ecosystem.

52 lines (51 loc) 3.34 kB
import { WithIcon } from '../../../shared/types/with-icon'; import { default as React } from 'react'; export declare const SelectButton: React.ForwardRefExoticComponent<Omit<{ 'aria-disabled'?: React.AriaAttributes["aria-disabled"]; disabled?: boolean | undefined; tabIndex?: number | undefined; type?: React.ButtonHTMLAttributes<HTMLButtonElement>["type"]; role: React.AriaRole; onBlur: React.FocusEventHandler; onFocus: React.FocusEventHandler; onKeyDown: import('@mui/base/utils/MuiCancellableEvent').MuiCancellableEventHandler<React.KeyboardEvent>; onKeyUp: import('@mui/base/utils/MuiCancellableEvent').MuiCancellableEventHandler<React.KeyboardEvent>; onMouseDown: React.MouseEventHandler<Element> & import('@mui/base/utils/MuiCancellableEvent').MuiCancellableEventHandler<React.MouseEvent<Element, MouseEvent>>; onMouseLeave: React.MouseEventHandler; ref?: (React.RefCallback<Element> | null) | undefined; 'aria-expanded': React.AriaAttributes["aria-expanded"]; 'aria-controls': React.AriaAttributes["aria-controls"]; className?: string | undefined; children?: React.ReactNode; ownerState: { areOptionsEqual?: ((a: object, b: object) => boolean) | undefined; autoComplete?: string | undefined; autoFocus?: boolean | undefined; children?: React.ReactNode; className?: string | undefined; defaultListboxOpen?: boolean | undefined; defaultValue?: object | object[] | null | undefined; disabled: boolean; getSerializedValue?: ((option: import('@mui/base').SelectOption<object> | import('@mui/base').SelectOption<object>[] | null) => React.InputHTMLAttributes<HTMLInputElement>["value"]) | undefined; listboxId?: string | undefined; listboxOpen?: boolean | undefined; multiple?: boolean | undefined; name?: string | undefined; onChange?: ((event: React.MouseEvent | React.KeyboardEvent | React.FocusEvent | null, value: object | object[] | null) => void) | undefined; onListboxOpenChange?: ((isOpen: boolean) => void) | undefined; getOptionAsString?: ((option: import('@mui/base').SelectOption<object>) => string) | undefined; renderValue?: ((option: import('@mui/base').SelectOption<object> | import('@mui/base').SelectOption<object>[] | null) => React.ReactNode) | undefined; placeholder?: React.ReactNode; slotProps?: { root?: import('@mui/base').SlotComponentProps<"button", import('@mui/base').SelectRootSlotPropsOverrides, any> | undefined; listbox?: import('@mui/base').SlotComponentProps<"ul", import('@mui/base').SelectListboxSlotPropsOverrides, any> | undefined; popup?: import('@mui/base').SlotComponentProps<"div", import('@mui/base').SelectPopupSlotPropsOverrides & import('@mui/base').PopupOwnProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/base').PopupOwnProps>, any> | undefined; } | undefined; required?: boolean | undefined; slots?: import('@mui/base').SelectSlots | undefined; value?: object | object[] | null | undefined; active: boolean; focusVisible: boolean; open: boolean; }; } & WithIcon, "ref"> & React.RefAttributes<HTMLButtonElement>>;