Commit 8e456cdb authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Ajout props id et rotate pour les icones font awesome

parent 7b4743de
Loading
Loading
Loading
Loading
Loading
+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>
@@ -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>