소스 검색

feat: Added InfoIcon component

Owen Diffey 3 년 전
부모
커밋
4b5ebc6795
1개의 변경된 파일23개의 추가작업 그리고 0개의 파일을 삭제
  1. 23 0
      frontend/src/components/global/InfoIcon.vue

+ 23 - 0
frontend/src/components/global/InfoIcon.vue

@@ -0,0 +1,23 @@
+<template>
+	<span class="material-icons info-icon" :content="tooltip" v-tippy>
+		info
+	</span>
+</template>
+
+<script>
+export default {
+	props: {
+		tooltip: {
+			type: String,
+			required: true
+		}
+	}
+};
+</script>
+
+<style lang="less" scoped>
+.material-icons.info-icon {
+	font-size: 14px;
+	margin: auto 5px;
+}
+</style>