diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /browser/components/aboutwelcome/content-src/components/EmbeddedMigrationWizard.jsx | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/aboutwelcome/content-src/components/EmbeddedMigrationWizard.jsx')
-rw-r--r-- | browser/components/aboutwelcome/content-src/components/EmbeddedMigrationWizard.jsx | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/browser/components/aboutwelcome/content-src/components/EmbeddedMigrationWizard.jsx b/browser/components/aboutwelcome/content-src/components/EmbeddedMigrationWizard.jsx index 2fff85abd9..60186e2694 100644 --- a/browser/components/aboutwelcome/content-src/components/EmbeddedMigrationWizard.jsx +++ b/browser/components/aboutwelcome/content-src/components/EmbeddedMigrationWizard.jsx @@ -4,8 +4,9 @@ import React, { useEffect, useRef } from "react"; -export const EmbeddedMigrationWizard = ({ handleAction }) => { +export const EmbeddedMigrationWizard = ({ handleAction, content }) => { const ref = useRef(); + const options = content.migration_wizard_options; useEffect(() => { const handleBeginMigration = () => { handleAction({ @@ -32,9 +33,29 @@ export const EmbeddedMigrationWizard = ({ handleAction }) => { }, []); // eslint-disable-line react-hooks/exhaustive-deps return ( <migration-wizard - force-show-import-all="false" + force-show-import-all={options?.force_show_import_all || "false"} auto-request-state="" ref={ref} + option-expander-title-string={options?.option_expander_title_string || ""} + hide-option-expander-subtitle={ + options?.hide_option_expander_subtitle || false + } + data-import-complete-success-string={ + options?.data_import_complete_success_string || "" + } + selection-header-string={options?.selection_header_string} + selection-subheader-string={options?.selection_subheader_string || ""} + hide-select-all={options?.hide_select_all || false} + checkbox-margin-inline={options?.checkbox_margin_inline || ""} + checkbox-margin-block={options?.checkbox_margin_block || ""} + import-button-string={options?.import_button_string || ""} + import-button-class={options?.import_button_class || ""} + header-font-size={options?.header_font_size || ""} + header-font-weight={options?.header_font_weight || ""} + header-margin-block={options?.header_margin_block || ""} + subheader-font-size={options?.subheader_font_size || ""} + subheader-font-weight={options?.subheader_font_weight || ""} + subheader-margin-block={options?.subheader_margin_block || ""} ></migration-wizard> ); }; |