Rate this page:
Renders a full-page app in the content area of Confluence.
CustomContent
is the top-level component required for the confluence:customContent
module.
1 2import ForgeUI, { CustomContent } 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, CustomContent} from '@forge/ui'; const App = () => { return ( <Text>This is a place where the custom content will be rendered!</Text> ); }; export const run = render( <CustomContent> <App/> </CustomContent> );
Rate this page: