Add base styles
This commit is contained in:
22
src/stories/ImageCarouselView.svelte
Normal file
22
src/stories/ImageCarouselView.svelte
Normal file
@@ -0,0 +1,22 @@
|
||||
<script>
|
||||
import ImageCarousel from '../ImageCarousel.svelte'
|
||||
|
||||
/**
|
||||
* Enable Next/Previos arrows
|
||||
*/
|
||||
export let arrows = true;
|
||||
</script>
|
||||
|
||||
<div class="main-container">
|
||||
<ImageCarousel {arrows} >
|
||||
<h1>Element 1</h1>
|
||||
<h1>Element 2</h1>
|
||||
</ImageCarousel>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.main-container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user