For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
I need to include a blank line in some text. Of course br does not work as Shopify has seen fit to not allow this.
const tooltip = root.createComponent(
Tooltip,
{},
[
root.createComponent(TextBlock, {}, `We've got you covered! By opting in to our package protection, you will be ensured that your package will arrive to you in excellent condition or your money back! `),
root.createComponent(TextBlock, {}, ` `),
root.createComponent(TextBlock, {}, ` `),
root.createComponent(TextBlock, {}, `KicKee's package protection covers lost,stolen or damaged packages.`),
link2
]
);
const tooltip = root.createComponent(
Tooltip,
{},
[
root.createComponent(TextBlock, {}, `We've got you covered! By opting in to our package protection, you will be ensured that your package will arrive to you in excellent condition or your money back! `),
root.createComponent(TextBlock, {}, `-----`),
root.createComponent(TextBlock, {}, `-----`),
root.createComponent(TextBlock, {}, `KicKee's package protection covers lost,stolen or damaged packages.`),
link2
]
);
Solved! Go to the solution
This is an accepted solution.
root.createComponent(BlockSpacer, {spacing: 'loose'}),
This is an accepted solution.
root.createComponent(BlockSpacer, {spacing: 'loose'}),