@yandex/ui
Version:
Yandex UI components
15 lines (14 loc) • 680 B
JavaScript
;
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 Progress_1 = require("@yandex-lego/components/Progress");
var Playground = function () {
var value = addon_knobs_1.number('value', 10);
var timing = addon_knobs_1.select('timing', ['linear', ''], 'linear');
var maxValue = addon_knobs_1.number('maxValue', 100);
return react_1.default.createElement(Progress_1.Progress, { value: value, timing: timing, maxValue: maxValue });
};
exports.Playground = Playground;