import * as React from 'react';
import ColorInput from '..';
import { colorInputTestkitFactory } from '../../../testkit';
import { colorInputTestkitFactory as colorInputEnzymeTestkitFactory } from '../../../testkit/enzyme';
import { colorInputTestkitFactory as colorInputPuppeteerTestkitFactory } from '../../../testkit/puppeteer';
import * as enzyme from 'enzyme';
import * as puppeteer from 'puppeteer';
function ColorInputWithMandatoryProps() {
return ;
}
function ColorInputWithAllProps() {
return (
}
colorPickerChildren={
}
disabled
status="error"
statusMessage="message"
onAddColor={_color => {}}
onCancel={_color => {}}
onChange={_color => {}}
onConfirm={_color => {}}
placeholder="placeholder"
popoverAppendTo="parent"
popoverPlacement="auto"
popoverProps={{}}
size="large"
/>
);
}
async function testkits() {
const testkit = colorInputTestkitFactory({
dataHook: 'hook',
wrapper: document.createElement('div'),
});
const enzymeTestkit = colorInputEnzymeTestkitFactory({
dataHook: 'hook',
wrapper: enzyme.mount(),
});
const browser = await puppeteer.launch();
const page = await browser.newPage();
const puppeteerTestkit = await colorInputPuppeteerTestkitFactory({
dataHook: 'hook',
page,
});
}