@ansible/ansible-ui-framework
Version:
A framework for building applications using PatternFly.
19 lines (18 loc) • 767 B
TypeScript
import { ButtonVariant, DropdownPopperProps } from '@patternfly/react-core';
import { ComponentClass, FunctionComponent } from 'react';
import { WindowSize } from '../components/useBreakPoint';
import { IPageAction } from './PageAction';
interface PageActionProps<T extends object> {
dropDownAriaLabel?: string;
actions: IPageAction<T>[];
selectedItem?: T;
selectedItems?: T[];
wrapper?: ComponentClass | FunctionComponent;
collapse?: WindowSize | 'always' | 'never';
position?: DropdownPopperProps['position'];
iconOnly?: boolean;
onOpen?: (open: boolean) => void;
variant?: ButtonVariant;
}
export declare function PageActions<T extends object>(props: PageActionProps<T>): import("react/jsx-runtime").JSX.Element;
export {};