12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- text: {
- type: [String, Number],
- default: () => defProps.tooltip.text
- },
-
- copyText: {
- type: [String, Number],
- default: () => defProps.tooltip.copyText
- },
-
- size: {
- type: [String, Number],
- default: () => defProps.tooltip.size
- },
-
- color: {
- type: String,
- default: () => defProps.tooltip.color
- },
-
- bgColor: {
- type: String,
- default: () => defProps.tooltip.bgColor
- },
-
- direction: {
- type: String,
- default: () => defProps.tooltip.direction
- },
-
- zIndex: {
- type: [String, Number],
- default: () => defProps.tooltip.zIndex
- },
-
- showCopy: {
- type: Boolean,
- default: () => defProps.tooltip.showCopy
- },
-
- buttons: {
- type: Array,
- default: () => defProps.tooltip.buttons
- },
-
- overlay: {
- type: Boolean,
- default: () => defProps.tooltip.overlay
- },
-
- showToast: {
- type: Boolean,
- default: () => defProps.tooltip.showToast
- }
- }
- })
|