import { ComponentChildren } from '../../shared/children'; import { GlobalProps } from '../../shared/global'; import { SizeKeyword } from '../../shared/scales'; export interface PageProps extends GlobalProps { /** * The content of the Page. */ children?: ComponentChildren; /** * The main page heading */ heading?: string; /** * The text to be used as subtitle. */ subheading?: string; /** * The primary action to perform, provided as a button or link type element. * When a `Button` is added to the `primaryAction` it's variant is set to `primary` */ primaryAction?: ComponentChildren; /** * The breadcrumb actions to perform, provided as link elements. */ breadcrumbActions?: ComponentChildren; /** * Secondary actions. These are `Button`s that will be contextually the 'secondary' variant. */ secondaryActions?: ComponentChildren; /** * The inline size of the page * @default base * base corresponds to a set default inline size * `large` expands the component to match the width of the page header */ inlineSize?: SizeKeyword; }