Make AlertMessage a component

This commit is contained in:
Oliver Davies 2019-04-24 13:18:00 +01:00
parent a5d9282b77
commit 199955d907
4 changed files with 26 additions and 9 deletions

View file

@ -0,0 +1,16 @@
<template>
<section class="bg-gun-powder p-3 text-center text-white text-sm font-semibold">
<slot></slot>
</section>
</template>
<style type="postcss" scoped>
a {
@apply underline;
&:hover,
&:focus {
@apply no-underline
}
}
</style>