@atlassian/clientside-extensions-docs
Advanced tools
Comparing version 0.4.0-2 to 0.4.0
@@ -18,3 +18,3 @@ --- | ||
- How you can create extensions with your custom HTML content. | ||
- How you can add custom HTML content using extensions. | ||
@@ -21,0 +21,0 @@ ## Panel extension |
@@ -7,6 +7,6 @@ --- | ||
subcategory: introduction | ||
date: '2020-03-02' | ||
date: '2020-03-06' | ||
--- | ||
# Using the Extensions API | ||
# Using the extensions API | ||
@@ -13,0 +13,0 @@ {{% note %}} |
@@ -7,3 +7,3 @@ --- | ||
subcategory: api | ||
date: '2020-02-28' | ||
date: '2020-03-06' | ||
--- | ||
@@ -100,2 +100,4 @@ | ||
const ReactComponent = ({ context, modalAPI }: ReactComponentProps) => { | ||
modalAPI.setTitle('An awesome modal with react'); | ||
modalAPI.onClose(() => { | ||
@@ -120,4 +122,2 @@ /*...*/ | ||
onAction(modalAPI) { | ||
modalAPI.setTitle('An awesome modal with react'); | ||
renderElementAsReact<ReactComponentProps>(modalAPI, ReactComponent, { modalAPI, context }); | ||
@@ -124,0 +124,0 @@ }, |
@@ -27,7 +27,7 @@ { | ||
{ | ||
"title": "2. Disconvering extension points", | ||
"title": "2. Discovering extension points", | ||
"url": "/server/framework/clientside-extensions/guides/introduction/discovering-extension-points" | ||
}, | ||
{ | ||
"title": "3. Using ExtensionAPI", | ||
"title": "3. Using extension API", | ||
"url": "/server/framework/clientside-extensions/guides/introduction/using-extension-api" | ||
@@ -34,0 +34,0 @@ }, |
{ | ||
"name": "@atlassian/clientside-extensions-docs", | ||
"version": "0.4.0-2", | ||
"version": "0.4.0", | ||
"description": "Holds the official documentation for Altassian Server client-side extensions API.", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
600072