wix-style-react
Version:
wix-style-react
29 lines (26 loc) • 860 B
JavaScript
import React from 'react';
import EndorseContentLayout from 'wix-style-react/EndorseContentLayout';
import { Button } from 'wix-style-react/Backoffice';
var secondaryCtaStyle = {
fontSize: '14px',
color: '#2b81cb',
textDecoration: 'none'
};
export default (function () {
return React.createElement(EndorseContentLayout, {
head: 'Oops\u2026 Something Went Wrong',
content: 'We\u2019re sorry, the application is experiencing problems. Please refresh the page or give it a try later. If the problem persists please contact Support.',
primaryCta: React.createElement(
Button,
{ theme: 'fullred', onClick: function onClick() {
return alert('im trying!');
} },
'Try Again'
),
secondaryCta: React.createElement(
'a',
{ href: '#', style: secondaryCtaStyle },
'Cancel'
)
});
});