diff --git a/superset-frontend/packages/superset-ui-core/src/ui-overrides/ExtensionsRegistry.ts b/superset-frontend/packages/superset-ui-core/src/ui-overrides/ExtensionsRegistry.ts index dc71c809ea760..bf050a2c4c495 100644 --- a/superset-frontend/packages/superset-ui-core/src/ui-overrides/ExtensionsRegistry.ts +++ b/superset-frontend/packages/superset-ui-core/src/ui-overrides/ExtensionsRegistry.ts @@ -35,7 +35,12 @@ type ReturningDisplayable
= (props: P) => string | React.ReactElement;
* When defining a new option here, take care to keep any parameters to functions (or components) minimal.
* Any removal or alteration to a parameter will be considered a breaking change.
*/
+type ConfigDetailsProps = {
+ embeddedId: string;
+};
+
export type Extensions = Partial<{
+ 'embedded.documentation.configuration_details': React.ComponentType
- {embedded ? (
- <>
+ {embedded ? (
+ DocsConfigDetails ? (
+
{t(
'This dashboard is ready to embed. In your application, pass the following id to the SDK:',
)}
+ {t(
'Configure this dashboard to embed it into an external web application.',
- )
- )}
-
{embedded.uuid}
- >
- ) : (
- t(
+