UI kit components

Rate this page:

AdminPage

The AdminPage component renders content on a Jira page that only Jira admins can access. The page is accessed from an option in the Apps section of the left navigation of Jira admin settings. AdminPage is the top-level component required for jira:adminPage module.

Usage

1
import ForgeUI, { AdminPage } from '@forge/ui';

Props

NameTypeRequiredDescription
childrenArray<ForgeComponent>YesA container for the components to display on the page. Can contain any UI kit component.

Example

A hello world example of the admin page.

1
2
3
4
5
6
7
8
9
10
11
12
import ForgeUI, {AdminPage, render, Text} from '@forge/ui';

const App = () => {
    return (
        <AdminPage>
            <Text>Hello, world!</Text>
        </AdminPage>
    );
};
export const run = render(
    <App/>
);

Preview

Example of an admin page

Rate this page: