@antmjs/vantui
Version:
一套适用于Taro3及React的vantui组件库
24 lines • 803 B
JavaScript
import { GoodsAction, GoodsActionIcon, GoodsActionButton } 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(GoodsAction, {
children: [/*#__PURE__*/_jsx(GoodsActionIcon, {
icon: "chat-o",
text: "\u5BA2\u670D",
dot: true
}), /*#__PURE__*/_jsx(GoodsActionIcon, {
icon: "cart-o",
text: "\u8D2D\u7269\u8F66",
info: "5"
}), /*#__PURE__*/_jsx(GoodsActionIcon, {
icon: "shop-o",
text: "\u5E97\u94FA"
}), /*#__PURE__*/_jsx(GoodsActionButton, {
text: "\u52A0\u5165\u8D2D\u7269\u8F66",
type: "warning"
}), /*#__PURE__*/_jsx(GoodsActionButton, {
text: "\u7ACB\u5373\u8D2D\u4E70"
})]
});
}