Skip to content

Commit

Permalink
fix: Examples.jsx prop mess
Browse files Browse the repository at this point in the history
  • Loading branch information
vkraucunas committed Oct 22, 2024
1 parent aa987b7 commit 3323b04
Showing 1 changed file with 62 additions and 62 deletions.
124 changes: 62 additions & 62 deletions special-pages/pages/new-tab/app/components/Examples.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,60 +34,60 @@ export const mainExamples = {
'rmf.small': {
factory: () => (
<RemoteMessagingFramework
message={
id: "small",
messageType: "small",
titleText: "Update Available",
descriptionText: "A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance."
}
/>
message={{
id: 'small',
messageType: 'small',
titleText: 'Update Available',
descriptionText: 'A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance.'
}}
/>
)
},
'rmf.medium': {
factory: () => (
<RemoteMessagingFramework
message={
id:"medium",
messageType: "medium",
icon: "Announce",
titleText: "Tell Us Your Thoughts on Privacy Pro",
descriptionText: "A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance."
}
/>
)
},
'rmf.big-single-action': {
factory: () => (
<RemoteMessagingFramework
message={
id:"big-single",
messageType: "big_single_action",
icon: "DDGAnnounce",
titleText: "New Search Feature!",
descriptionText: "DuckDuckGo now offers Instant Answers for quicker access to the information you need.",
primaryActionText: "Learn More",
}
primaryAction = {() => { }}
/>
)
},
'rmf.big-two-action': {
factory: () => (
<RemoteMessagingFramework
message={
id:"big-two",
messageType: "big_two_action",
icon: "AppUpdate",
titleText: "Update Available",
descriptionText: "A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance.",
primaryActionText: "How to update",
secondaryActionText: "Remind me later",
}
primaryAction = {() => { }}
secondaryAction = {() => { }}
/>
)
}
'rmf.medium': {
factory: () => (
<RemoteMessagingFramework
message={{
id: 'medium',
messageType: 'medium',
icon: 'Announce',
titleText: 'Tell Us Your Thoughts on Privacy Pro',
descriptionText: 'A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance.'
}}
/>
)
},
'rmf.big-single-action': {
factory: () => (
<RemoteMessagingFramework
message={{
id: 'big-single',
messageType: 'big_single_action',
icon: 'DDGAnnounce',
titleText: 'New Search Feature!',
descriptionText: 'DuckDuckGo now offers Instant Answers for quicker access to the information you need.',
primaryActionText: 'Learn More',
}}
primaryAction={() => { }}
/>
)
},
'rmf.big-two-action': {
factory: () => (
<RemoteMessagingFramework
message={{
id: 'big-two',
messageType: 'big_two_action',
icon: 'AppUpdate',
titleText: 'Update Available',
descriptionText: 'A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance.',
primaryActionText: 'How to update',
secondaryActionText: 'Remind me later',
}}
primaryAction={() => { }}
secondaryAction={() => { }}
/>
)
}
}

export const otherExamples = {
Expand All @@ -112,17 +112,17 @@ export const otherExamples = {
'rmf.big-two-action-overflow': {
factory: () => (
<RemoteMessagingFramework
message={
id: "big-two-overflow",
messageType: "big_two_action",
icon: "CriticalUpdate",
titleText: "Update Available",
descriptionText: "A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance. A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance.",
primaryActionText: "How to update Windows",
secondaryActionText: "Remind me later, but only if I’m actually going to update soon",
}
message={{
id: 'big-two-overflow',
messageType: 'big_two_action',
icon: 'CriticalUpdate',
titleText: 'Update Available',
descriptionText: 'A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance. A new version of DuckDuckGo Browser is available. Update now to enjoy improved privacy features and enhanced performance.',
primaryActionText: 'How to update Windows',
secondaryActionText: 'Remind me later, but only if I’m actually going to update soon',
}}
primaryAction={() => { }}
secondaryAction = {() => { }}
secondaryAction={() => { }}
/>
)
}
Expand Down

0 comments on commit 3323b04

Please sign in to comment.