Rate this page:
A dialog that displays outside a block of content in a Confluence page.
The ContextMenu:
The InlineDialog
:
Example: Dictionary app
InlineDialog
is required for the confluence:contextMenu
module1 2import ForgeUI, { InlineDialog } from '@forge/ui';
Name | Type | Required | Description |
---|---|---|---|
children | Array<ForgeComponent> | Yes | The content of the inline dialog |
1 2import ForgeUI, { render, Text, ContextMenu, InlineDialog } from '@forge/ui'; const App = () => { return ( <InlineDialog> <Text>Hello world!</Text> </InlineDialog> ); }; export const run = render( <ContextMenu> <App/> </ContextMenu> );
Rate this page: