Skip to content

Commit

Permalink
Base Divider Component (#14)
Browse files Browse the repository at this point in the history
* wip

* dividider wip

* export

* Update components/src/base-divider/base-divider.story.vue

* Update components/src/base-divider/base-divider.story.vue

* Update components/src/base-divider/base-divider.vue

---------

Co-authored-by: Rijk van Zanten <[email protected]>
  • Loading branch information
bryantgillespie and rijkvanzanten committed Jul 11, 2023
1 parent 423daf2 commit a7d692c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/src/base-divider/base-divider.story.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script setup lang="ts">
import BaseDivider from './base-divider.vue';
</script>

<template>
<Story title="Base / Divider">
<BaseDivider />
</Story>
</template>
10 changes: 10 additions & 0 deletions components/src/base-divider/base-divider.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<template>
<div class="base-divider" />
</template>

<style scoped>
.base-divider {
width: 100%;
border-top: 1px solid var(--gray-300);
}
</style>
1 change: 1 addition & 0 deletions components/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { default as BaseIcon } from './base-icon/base-icon.vue';
export { default as BaseDivider } from './base-button/base-divider.vue';

0 comments on commit a7d692c

Please sign in to comment.