Rate this page:
The SpaceSettings
component renders content in a tab inside the integration settings of a Confluence space.
SpaceSettings
is the top-level component required for the confluence:spaceSettings
module.
This module can only be used in Confluence.
1
import ForgeUI, { SpaceSettings } from '@forge/ui';
Name | Type | Required | Description |
---|---|---|---|
children | Array<ForgeComponent> | Yes | A container for displaying multiple components. Can contain any UI kit component. |
A hello world example of the SpaceSettings
component.
1 2 3 4 5 6 7 8 9 10 11 12 13
import ForgeUI, {render, Text, SpaceSettings} from '@forge/ui';
const App = () => {
return (
<Text>Hello world!</Text>
);
};
export const run = render(
<SpaceSettings>
<App/>
</SpaceSettings>
);
Rate this page: