Common UI kit components
Confluence UI kit components
Jira UI kit components

Rate this page:

ContentBylineItem

An inline dialog triggered from the content byline section of a Confluence page.

Example of a Content byline item with the above sample code

Usage notes

ContentBylineItem is the top-level component required for the confluence:contentBylineItem module.

Import statement

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

Props

NameTypeRequiredDescription
childrenArray<ForgeComponent>YesA container for displaying multiple components. Can only contain InlineDialog.

Example

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

const App = () => {
    return (
        <InlineDialog>
            <Text>Hello world!</Text>
        </InlineDialog>
    );
};

export const run = render(
    <ContentBylineItem>
        <App/>
    </ContentBylineItem>
);

Rate this page: