6eDesign / svelte-calendar

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

Very Frustrating ! #87

Closed rawoke083 closed 4 years ago

rawoke083 commented 4 years ago

Been looking now through the source code trying to figure out WHAT to ACTUALY import ??? import { Datepicker} from "svelte-calendar" The above seems not to work.. Moving on and have to choose another comp !

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 />