UNPKG

@yandex/ui

Version:

Yandex UI components

9 lines (8 loc) 861 B
import React from 'react'; import { ListTile } from '@yandex-lego/components/ListTile/desktop'; import { Tumbler } from '@yandex-lego/components/Tumbler/desktop/bundle'; import { UserPic } from '@yandex-lego/components/UserPic/desktop/bundle'; import { Text } from '@yandex-lego/components/Text/bundle'; export var Default = function () { return (React.createElement(ListTile, { alignItems: "start", leftSpace: 'm', rightSpace: 'm', leading: React.createElement(UserPic, null), trailing: React.createElement(Tumbler, { view: "default", size: "m", checked: false, onChange: function () { return null; } }) }, React.createElement(Text, { as: "div", typography: "overline-l", weight: "medium", color: "secondary" }, "Overline"), React.createElement(Text, { as: "div", typography: "control-xl", weight: "regular", color: "primary" }, "One-line item"))); };