import React from 'react'; import type { Spacing } from '@instructure/emotion'; import type { UIElement } from '@instructure/shared-types'; import type { PagesContextType } from '../PagesContext'; type PagesPageOwnProps = { /** * The children to be rendered */ children?: React.ReactNode | ((history: PagesContextType['history'], navigateToPreviousPage: PagesContextType['navigateToPreviousPage']) => React.ReactNode); /** * An element or a function returning an element to focus by default */ defaultFocusElement?: UIElement | (() => UIElement); /** * Set the padding using familiar CSS shorthand */ padding?: Spacing; textAlign?: 'start' | 'center' | 'end'; }; type PropKeys = keyof PagesPageOwnProps; type AllowedPropKeys = Readonly>; type PagesPageProps = PagesPageOwnProps; declare const allowedProps: AllowedPropKeys; export type { PagesPageProps }; export { allowedProps }; //# sourceMappingURL=props.d.ts.map