@shopify/polaris
Version:
Shopify’s admin product component library
10 lines (9 loc) • 450 B
TypeScript
/// <reference types="react" />
import { ComplexAction, DisableableAction, LoadableAction } from '../../types';
export interface PageActionsProps {
/** The primary action for the page */
primaryAction?: DisableableAction & LoadableAction;
/** The secondary actions for the page */
secondaryActions?: ComplexAction[];
}
export declare function PageActions({ primaryAction, secondaryActions, }: PageActionsProps): JSX.Element;