chore: lift components folder

This commit is contained in:
Eric Liu 2020-07-19 09:06:08 -07:00
commit 2200b29b92
301 changed files with 57 additions and 76 deletions

View file

@ -0,0 +1,27 @@
<script>
export let href = undefined;
export let type = undefined;
export let icon = undefined;
export let linkIsActive = undefined;
import { Icon } from "../../Icon";
</script>
<style>
.action-link {
text-align: center;
align-items: center;
vertical-align: middle;
justify-content: center;
padding-top: 10px;
}
</style>
<a
aria-label={type}
class:bx--header__action={true}
class:bx--header__action--active={linkIsActive}
class:action-link={true}
{href}>
<Icon {...icon} />
</a>