UNPKG

wix-style-react

Version:
29 lines (28 loc) 872 B
/* eslint-disable react/prop-types */ import React from 'react'; import { MessageBoxFunctionalLayout } from 'wix-style-react/MessageBox'; import Checkbox from 'wix-style-react/Checkbox'; import Text from 'wix-style-react/Text'; export default (function () { return React.createElement( MessageBoxFunctionalLayout, { title: 'Interuption Message', confirmText: 'Main', cancelText: 'Secondary', theme: 'blue', dataHook: 'alert-image-actions', image: React.createElement('img', { src: 'https://picsum.photos/126/126?blur&image=0' }), sideActions: React.createElement( Checkbox, null, React.createElement( Text, null, 'Please don\'t show me this again.' ) ) }, 'This is a generic message. No harm done, but really needed to interrupt you.' ); });