wix-style-react
Version:
wix-style-react
33 lines (32 loc) • 915 B
JavaScript
/* eslint-disable react/prop-types */
import React from 'react';
import { MessageBoxFunctionalLayout } from 'wix-style-react/MessageBox';
import Text from 'wix-style-react/Text';
import TextLink from 'wix-style-react/TextLink';
export default (function () {
return React.createElement(
MessageBoxFunctionalLayout,
{
title: 'Interuption Message',
confirmText: 'Main',
cancelText: 'Secondary',
theme: 'blue',
dataHook: 'alert-footnote',
footerBottomChildren: React.createElement(
'div',
null,
React.createElement(
Text,
{ size: 'small' },
'By sending an invite, you agree to the '
),
React.createElement(
TextLink,
{ size: 'small' },
'Wix Terms of Use.'
)
)
},
'This is a generic message. No harm done, but really needed to interrupt you.'
);
});