@remixicon/vue 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -10
- package/README_CN.md +6 -10
- package/index.d.ts +1026 -2
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,16 +27,12 @@ pnpm install @remixicon/vue
|
|
|
27
27
|
|
|
28
28
|
## Usage
|
|
29
29
|
|
|
30
|
-
```
|
|
30
|
+
```vue
|
|
31
|
+
<script setup lang="ts">
|
|
31
32
|
import { RiHeartFill } from '@remixicon/vue'
|
|
33
|
+
</script>
|
|
32
34
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
size={36} // set custom `width` and `height`
|
|
37
|
-
color="red" // set `fill` color
|
|
38
|
-
className="my-icon" // add custom class name
|
|
39
|
-
/>
|
|
40
|
-
)
|
|
41
|
-
}
|
|
35
|
+
<template>
|
|
36
|
+
<RiHeartFill size="36px" color="red" className="my-icon">
|
|
37
|
+
</template>
|
|
42
38
|
```
|
package/README_CN.md
CHANGED
|
@@ -27,16 +27,12 @@ pnpm install @remixicon/vue
|
|
|
27
27
|
|
|
28
28
|
## 使用
|
|
29
29
|
|
|
30
|
-
```
|
|
30
|
+
```vue
|
|
31
|
+
<script setup lang="ts">
|
|
31
32
|
import { RiHeartFill } from '@remixicon/vue'
|
|
33
|
+
</script>
|
|
32
34
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
size={36} // 设置大小
|
|
37
|
-
color="red" // 设置颜色
|
|
38
|
-
className="my-icon" // 添加自定义样式名
|
|
39
|
-
/>
|
|
40
|
-
)
|
|
41
|
-
}
|
|
35
|
+
<template>
|
|
36
|
+
<RiHeartFill size="36px" color="red" className="my-icon">
|
|
37
|
+
</template>
|
|
42
38
|
```
|