wix-style-react
Version:
wix-style-react
22 lines • 784 B
JavaScript
import SegmentedToggle from '.';
import React from 'react';
// This object should contain a mock value for each required prop of this component
export const requiredProps = {
children: [
React.createElement(SegmentedToggle.Button, { key: "1", value: "option" }, "Option"),
React.createElement(SegmentedToggle.Button, { key: "2", value: "option2" }, "Option"),
],
};
// This array should contain an object only for tests you wish to run on all compliance tests
const sharedTests = [
{
title: 'render',
props: {
...requiredProps,
},
},
];
export const testkitTests = [...sharedTests];
export const ssrTests = [...sharedTests];
export const a11yTests = [...sharedTests];
//# sourceMappingURL=SegmentedToggle.meta.js.map