carbon-react
Version:
A library of reusable React components for easily building user interfaces.
25 lines (24 loc) • 866 B
TypeScript
import React from "react";
import { PaddingProps } from "styled-system";
import { TagProps } from "../../../__internal__/utils/helpers/tags/tags";
/**
* @deprecated `Page` has been deprecated. See the Carbon documentation for migration details.
*/
export interface PageProps extends PaddingProps, TagProps {
/** The title for the page, normally a Heading component. */
title?: React.ReactNode;
/** This component supports children. */
children: React.ReactNode;
/** The ARIA role to be applied to the component */
role?: string;
/** @ignore @private */
transitionName?: () => string;
}
/**
* @deprecated `Page` has been deprecated. See the Carbon documentation for migration details.
*/
declare const Page: {
({ role, title, children, ...rest }: PageProps): React.JSX.Element;
displayName: string;
};
export default Page;