12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- name: {
- type: String,
- default: () => defProps.icon.name
- },
-
- color: {
- type: String,
- default: () => defProps.icon.color
- },
-
- size: {
- type: [String, Number],
- default: () => defProps.icon.size
- },
-
- bold: {
- type: Boolean,
- default: () => defProps.icon.bold
- },
-
- index: {
- type: [String, Number],
- default: () => defProps.icon.index
- },
-
- hoverClass: {
- type: String,
- default: () => defProps.icon.hoverClass
- },
-
- customPrefix: {
- type: String,
- default: () => defProps.icon.customPrefix
- },
-
- label: {
- type: [String, Number],
- default: () => defProps.icon.label
- },
-
- labelPos: {
- type: String,
- default: () => defProps.icon.labelPos
- },
-
- labelSize: {
- type: [String, Number],
- default: () => defProps.icon.labelSize
- },
-
- labelColor: {
- type: String,
- default: () => defProps.icon.labelColor
- },
-
- space: {
- type: [String, Number],
- default: () => defProps.icon.space
- },
-
- imgMode: {
- type: String,
- default: () => defProps.icon.imgMode
- },
-
- width: {
- type: [String, Number],
- default: () => defProps.icon.width
- },
-
- height: {
- type: [String, Number],
- default: () => defProps.icon.height
- },
-
- top: {
- type: [String, Number],
- default: () => defProps.icon.top
- },
-
- stop: {
- type: Boolean,
- default: () => defProps.icon.stop
- }
- }
- })
|