UNPKG

@combine-labs/combine-polaris

Version:

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

24 lines (23 loc) 748 B
import Messenger from '../Messenger'; import { ActionGroup } from '../transformers'; import { CallbackAction, ComplexAction, DisableableAction, LinkAction, LoadableAction } from '../../../types'; export interface UpdateConfig { title: string; icon?: string; breadcrumbs?: Array<CallbackAction | LinkAction>; primaryAction?: DisableableAction & LoadableAction; secondaryActions?: ComplexAction[]; actionGroups?: ActionGroup[]; pagination?: { hasNext?: boolean; hasPrevious?: boolean; onNext?(): void; onPrevious?(): void; }; } export default class Bar { private messenger; constructor(messenger: Messenger); update(config: UpdateConfig): void; private closeDropdown; }