storybook-addon-playground
Version:
A playground to enable consumers learn how to use the component library or to reproduce bugs
11 lines (8 loc) • 587 B
JavaScript
import React__default from 'react';
import EditorTab from './EditorTab.js';
import styles from './EditorTabs.module.css.js';
const EditorTabs = ({ selectedTab, onTabChange, }) => (React__default.createElement("section", { className: styles.tabs },
React__default.createElement(EditorTab, { title: "JSX", selected: selectedTab === "jsx", onClick: () => onTabChange("jsx") }),
React__default.createElement(EditorTab, { title: "CSS", selected: selectedTab === "css", onClick: () => onTabChange("css") })));
export { EditorTabs as default };
//# sourceMappingURL=EditorTabs.js.map