Rate this page:
An area of dynamic content in a Confluence page or blog.
Macro
component is used for the macro module.1 2import ForgeUI, { Macro } from '@forge/ui';
Name | Type | Required | Description |
---|---|---|---|
app | ForgeExtension | Yes | The app code for the macro. |
1 2import ForgeUI, { render, Macro, Text } from "@forge/ui"; const App = () => { const data = { name: "Fluffy", age: 2 } return <Text>{data.name} is {data.age} years old.</Text>;; }; export const run = render( <Macro app={<App />} /> );
Rate this page: