UNPKG

@yandex/ui

Version:

Yandex UI components

21 lines (20 loc) 1.18 kB
import React from 'react'; import { UserPic } from '../../UserPic.bundle/touch-pad'; import { EXAMPLE_TOUCH_PAD_TOKEN, createDecorators, parameters } from '../examples-config'; export default { title: EXAMPLE_TOUCH_PAD_TOKEN, decorators: createDecorators(), parameters: parameters, }; export var Default = function () { return (React.createElement(React.Fragment, null, React.createElement("div", { style: { marginRight: '20px', display: 'inline-block' } }, React.createElement(UserPic, { plus: true, avatarId: "43978/351415393-30646433" })), React.createElement("div", { style: { marginRight: '20px', display: 'inline-block' } }, React.createElement(UserPic, { avatarId: "0/0-0", hasCamera: true })), React.createElement("div", { style: { marginRight: '20px', display: 'inline-block' } }, React.createElement(UserPic, { plus: true, avatarId: "0/0-0", hasCamera: true })), React.createElement("div", { style: { marginRight: '20px', display: 'inline-block' } }, React.createElement(UserPic, { lodpiUrl: "https://jing.yandex-team.ru/files/kri0-gen/halp_orange.jpg" })))); }; Default.story = { name: 'default', };