@antmjs/vantui
Version:
一套适用于Taro3及React的vantui组件库
25 lines • 695 B
JavaScript
import { View } from '@tarojs/components';
import { Tag } 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(Tag, {
plain: true,
type: "primary",
children: "\u6807\u7B7E"
}), /*#__PURE__*/_jsx(Tag, {
plain: true,
type: "success",
children: "\u6807\u7B7E"
}), /*#__PURE__*/_jsx(Tag, {
plain: true,
type: "danger",
children: "\u6807\u7B7E"
}), /*#__PURE__*/_jsx(Tag, {
plain: true,
type: "warning",
children: "\u6807\u7B7E"
})]
});
}