import * as React from 'react';
import FloatingNotification from '..';
import { floatingNotificationTestkitFactory } from '../../../testkit';
import { floatingNotificationTestkitFactory as floatingNotificationEnzymeTestkitFactory } from '../../../testkit/enzyme';
import { floatingNotificationTestkitFactory as floatingNotificationPuppeteerTestkitFactory } from '../../../testkit/puppeteer';
import * as enzyme from 'enzyme';
import * as puppeteer from 'puppeteer';
function FloatingNotificationWithMandatoryProps() {
return ;
}
function FloatingNotificationWithAllProps() {
return (
, onClick: () => {} }}
className="cls"
dataHook="hook"
onClose={_ev => {}}
prefixIcon={
}
showCloseButton
text={}
textButtonProps={{
as: 'a',
href: '',
target: '',
label: ,
onClick: _ev => {},
}}
type="destructive"
width="10px"
fullWidth
/>
);
}
async function testkits() {
const testkit = floatingNotificationTestkitFactory({
dataHook: 'hook',
wrapper: document.createElement('div'),
});
const enzymeTestkit = floatingNotificationEnzymeTestkitFactory({
dataHook: 'hook',
wrapper: enzyme.mount(),
});
const browser = await puppeteer.launch();
const page = await browser.newPage();
const puppeteerTestkit = await floatingNotificationPuppeteerTestkitFactory({
dataHook: 'hook',
page,
});
}