wix-style-react
Version:
25 lines (23 loc) • 688 B
JavaScript
/* eslint-disable */
import React from 'react';
import { Checkbox } from 'wix-style-react';
class HelpButtonExample extends React.Component {
render() {
return (
<CustomModalLayout
primaryButtonText="Save"
secondaryButtonText="Cancel"
onCloseButtonClick={() => {}}
onHelpButtonClick={() => {}}
title="Create New Coupon"
subtitle="Make customers come back to your store with coupons"
sideActions={<Checkbox>Checkbox</Checkbox>}
>
<Text>
If you leave now, changes you have made here won't be saved. Are you
sure you want to leave?
</Text>
</CustomModalLayout>
);
}
}