UNPKG

@ansible/ansible-ui-framework

Version:

A framework for building applications using PatternFly.

21 lines (20 loc) 878 B
import { ButtonVariant, DropdownPopperProps } from '@patternfly/react-core'; import { ComponentClass, FunctionComponent } from 'react'; import { IPageAction } from './PageAction'; interface PageActionDropdownProps<T extends object> { actions: IPageAction<T>[]; icon?: ComponentClass | FunctionComponent; iconOnly?: boolean; isDisabled?: string | undefined; label?: string; onOpen?: (label: string, open: boolean) => void; position?: DropdownPopperProps['position']; selectedItem?: T; selectedItems?: T[]; tooltip?: string; variant?: ButtonVariant; ariaLabel?: string; } export declare function PageActionDropdown<T extends object>(props: PageActionDropdownProps<T>): import("react/jsx-runtime").JSX.Element; export declare function filterActionSeperators<T extends object>(actions: IPageAction<T>[]): IPageAction<T>[]; export {};