0.1.25 • Published 5 years ago

@shihuituan/design-weapp v0.1.25

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 years ago

安装

通过 npm 安装

# npm 安装
npm i @shihuituan/design-weapp --save

# yarn 安装
yarn add @shihuituan/design-weapp --save

Icon 标签

引入

*.json中配置

"usingComponents": {
  "sht-icon": "@shihuituan/design-weapp/icon/index"
}

使用

<sht-icon className="icon icon-cart"></sht-icon>
<sht-icon className="icon icon-home"></sht-icon>

API

Props

参数名类型
classNamestring

Tag 标签

引入

*.json中配置

"usingComponents": {
  "sht-tag": "@shihuituan/design-weapp/tag/index"
}

预设样式

<sht-tag type="red" text="标签"></sht-tag>
<sht-tag type="blue" text="标签"></sht-tag>
<sht-tag type="gold" text="标签"></sht-tag>

自定义颜色

<sht-tag custom="#f2826a">标签</sht-tag>
<sht-tag custom="#f2826a">标签</sht-tag>

API

Props

参数名类型
presetstring
textstring
customstring
0.1.25

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.18

5 years ago

0.1.19

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.4

5 years ago

0.1.5

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago