interface MyOrdersListPageProps {
    cards: Pick<CardProps, "title" | "backgroundColor" | "subtitle" | "chips" | "linkProps" | "subtitleImageUrl" | "tertiaryText">[];
    hideLoadMoreButton?: boolean;
    isDisabled?: boolean;
    labels: {
        showMoreButton: string;
        tabs: {
            applied: string;
        };
        title: string;
    };
    onLoadMore: (() => void);
    onNavigate: ((url) => void);
    urlForRoute: UrlForRouteFunction;
}

Properties

cards: Pick<CardProps, "title" | "backgroundColor" | "subtitle" | "chips" | "linkProps" | "subtitleImageUrl" | "tertiaryText">[]

The cards to display

hideLoadMoreButton?: boolean

Hide load more button

isDisabled?: boolean

Disables changes while loading or similar

labels: {
    showMoreButton: string;
    tabs: {
        applied: string;
    };
    title: string;
}

My orders list page labels

Type declaration

  • showMoreButton: string
  • tabs: {
        applied: string;
    }
    • applied: string
  • title: string
onLoadMore: (() => void)

Callback when loading more

Type declaration

    • (): void
    • Callback when loading more

      Returns void

onNavigate: ((url) => void)

On navigate callback

Type declaration

    • (url): void
    • On navigate callback

      Parameters

      • url: string

      Returns void

urlForRoute: UrlForRouteFunction

Url for route

Generated using TypeDoc