Loading components/UIcon.vue +4 −1 Original line number Diff line number Diff line <template> <i :class="`fas fa-${name} text-${variant}`"></i> <i :class="`fas fa-${name} text-${variant} fa-rotate-${rotate}`" :id="`${id}`"></i> </template> <script> Loading @@ -8,6 +8,9 @@ export default { props: { name: {required: true, type: String}, variant: {required: false, type: String}, rotate: {required: false, type: String}, id: {required: false, type: String}, }, } </script> Loading Loading
components/UIcon.vue +4 −1 Original line number Diff line number Diff line <template> <i :class="`fas fa-${name} text-${variant}`"></i> <i :class="`fas fa-${name} text-${variant} fa-rotate-${rotate}`" :id="`${id}`"></i> </template> <script> Loading @@ -8,6 +8,9 @@ export default { props: { name: {required: true, type: String}, variant: {required: false, type: String}, rotate: {required: false, type: String}, id: {required: false, type: String}, }, } </script> Loading