UNPKG

@yandex/ui

Version:

Yandex UI components

10 lines (9 loc) 424 B
import React from 'react'; import { select, number } from '@storybook/addon-knobs'; import { Progress } from '@yandex-lego/components/Progress'; export var Playground = function () { var value = number('value', 10); var timing = select('timing', ['linear', ''], 'linear'); var maxValue = number('maxValue', 100); return React.createElement(Progress, { value: value, timing: timing, maxValue: maxValue }); };