UNPKG

@antmjs/vantui

Version:

一套适用于Taro3及React的vantui组件库

29 lines 862 B
/* eslint-disable */ import { View } from '@tarojs/components'; import { Cell, Tag, Icon } from '@antmjs/vantui'; import { jsx as _jsx } from "react/jsx-runtime"; import { jsxs as _jsxs } from "react/jsx-runtime"; export default function Demo() { return /*#__PURE__*/_jsxs(View, { children: [/*#__PURE__*/_jsx(Cell, { value: "\u5185\u5BB9", icon: "shop-o", isLink: true, renderTitle: /*#__PURE__*/_jsxs(View, { children: [/*#__PURE__*/_jsx(View, { className: "title", children: "\u5355\u5143\u683C" }), /*#__PURE__*/_jsx(Tag, { type: "danger", children: "\u6807\u7B7E" })] }) }), /*#__PURE__*/_jsx(Cell, { title: "\u5355\u5143\u683C", border: false, renderRightIcon: /*#__PURE__*/_jsx(Icon, { name: "search" }) })] }); }