UNPKG

@yandex/ui

Version:

Yandex UI components

18 lines (17 loc) 791 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Playground = void 0; var tslib_1 = require("tslib"); var react_1 = tslib_1.__importDefault(require("react")); var addon_knobs_1 = require("@storybook/addon-knobs"); var bundle_1 = require("@yandex-lego/components/TabsPanes/desktop/bundle"); var Playground = function () { var activeTab = addon_knobs_1.text('activeTab', 'search'); var panes = addon_knobs_1.object('panes', [ { id: 'search', content: 'Поиск content' }, { id: 'images', content: 'Картинки content' }, { id: 'video', content: 'Видео content' }, ]); return react_1.default.createElement(bundle_1.TabsPanes, { activePane: activeTab, panes: panes }); }; exports.Playground = Playground;