Rate this page:
Renders content of the jiraServiceManagement:assetsImportType
module on Configure app
modal for Assets Imports.
The modal appears when a user selects an object schema within Assets, then selects Schema configuration
, then selects Import
, then selects their import type, then selects Configure App
in the dropdown.
AssetsImportType
is a component required for the
jiraServiceManagement:assetsImportType
module.1 2import ForgeUI, { AssetsAppImportTypeConfiguration } from "@forge/ui";
Name | Type | Required | Description |
---|---|---|---|
children | Array<ForgeComponent> | Yes | A container for the components to display on the page. Can contain any UI kit component. |
1 2import ForgeUI, { render, Text, AssetsAppImportTypeConfiguration, useProductContext } from "@forge/ui"; const App = () => { const { extensionContext } = useProductContext(); const importId = extensionContext.importId; const workspaceId = extensionContext.workspaceId; const onSubmit = async () => { console.log("submit button clicked"); }; return ( <AssetsAppImportTypeConfiguration onSubmit={onSubmit}> <Text>Hello World!, ImportId = {importId}, WorkspaceId = {workspaceId}</Text> </AssetsAppImportTypeConfiguration> ); }; export const renderImportConfig = render(<App />);
Rate this page: