@atlaskit/page-layout
Version:
A collection of components which let you compose an application's page layout.
29 lines (28 loc) • 869 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import type { ReactNode } from 'react';
import { jsx } from '@emotion/react';
interface ContentProps {
/**
* React children
*/
children: ReactNode;
/**
* A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests.
*/
testId?: string;
}
/**
* __Content__
*
* Provides a slot for your application content within the PageLayout.
*
* - [Examples](https://atlassian.design/components/page-layout/examples)
* - [Code](https://atlassian.design/components/page-layout/code)
*
* @deprecated `@atlaskit/page-layout` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
declare const Content: (props: ContentProps) => jsx.JSX.Element;
export default Content;