UNPKG

@combine-labs/combine-polaris

Version:

Combine Lab's product component library. Forked from Shopify's Polaris.

12 lines (11 loc) 525 B
/// <reference types="react" /> import { ComplexAction, DisableableAction, LoadableAction } from '../../types'; export interface Props { /** The primary action for the page */ primaryAction?: DisableableAction & LoadableAction; /** The secondary actions for the page */ secondaryActions?: ComplexAction[]; /** Temporary version that shows when there are unsaved changes */ temporary?: boolean; } export default function PageActions({ primaryAction, secondaryActions, temporary }: Props): JSX.Element;