import { Component, Prop, Vue } from "vue-property-decorator"; import Icon from "@/components/Icon/index.vue"; import Tooltip from "@/components/Tooltip/index.vue"; @Component({ components: { Icon, Tooltip }, }) export default class Status extends Vue { @Prop({ type: String }) readonly text?: string; @Prop({ type: String, default: "neutral" }) readonly type!: string; @Prop({ type: String }) readonly icon?: string; @Prop({ type: String }) readonly tooltip?: string; @Prop({ type: Boolean, default: false }) readonly indicator!: boolean; }