Rate this page:
Renders a full-page app in the content area of Confluence.
SpacePage
is the top-level component required for the confluence:spacePage
module.
1 2import ForgeUI, { SpacePage } from '@forge/ui';
Name | Type | Required | Description |
---|---|---|---|
children | Array<ForgeComponent> | Yes | A container for displaying multiple components. Can contain any UI kit component. |
1 2import ForgeUI, {render, Text, SpacePage} from '@forge/ui'; const App = () => { return ( <Text>Hello from the space page!</Text> ); }; export const run = render( <SpacePage> <App/> </SpacePage> );
Rate this page: