@vlinderclimate/net-zero-ui
Version:
<div align="center"> <img src="https://storage.yandexcloud.net/static.vlinderstorage.com/Telegram_VlinderTech.png" width=200 /> </div> <h1 align="center">Net Zero UI kit</h1>
18 lines (13 loc) • 686 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var tslib_es6 = require('../tslib.es6-9240d9d1.js');
var jsxRuntime = require('react/jsx-runtime');
var material = require('@mui/material');
/**
* Components
*/
var TabPanel = function (props) {
var children = props.children, value = props.value, index = props.index, rest = tslib_es6.__rest(props, ["children", "value", "index"]);
return (jsxRuntime.jsx(material.Box, tslib_es6.__assign({ role: "tabpanel", hidden: value !== index, id: "tabpanel-" + index, "aria-labelledby": "tab-" + index }, rest, { children: value === index && children }), void 0));
};
exports["default"] = TabPanel;