6eDesign / svelte-calendar

A lightweight datepicker with neat animations and a unique UX.
https://6edesign.github.io/svelte-calendar/
MIT License
537 stars 89 forks source link

Actual full example #86

Closed rawoke083 closed 3 years ago

rawoke083 commented 4 years ago

Good comp.. but no-where is there an example as to WHAT to actually import..

6eDesign commented 4 years ago

Hi, this is the same as a svelte file you would import locally. It is a default export so you can name it whatever you want such as:

<script>
import Foobar from 'svelte-calendar'
</script>
<Foobar />
6eDesign commented 3 years ago

Updated readme.