UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

19 lines (18 loc) 824 B
import React from 'react'; export interface SkeletonPageProps { /** Page title, in large type */ title?: string; /** Remove the normal max-width on the page */ fullWidth?: boolean; /** Decreases the maximum layout width. Intended for single-column layouts */ narrowWidth?: boolean; /** Shows a skeleton over the primary action */ primaryAction?: boolean; /** @deprecated Number of secondary page-level actions to display */ secondaryActions?: number; /** Shows a skeleton over the breadcrumb */ breadcrumbs?: boolean; /** The child elements to render in the skeleton page. */ children?: React.ReactNode; } export declare function SkeletonPage({ children, fullWidth, narrowWidth, primaryAction, secondaryActions, title, breadcrumbs, }: SkeletonPageProps): JSX.Element;