chore: use jsdoc to annotate props

This commit is contained in:
Eric Liu 2020-07-24 22:35:20 -07:00
commit 8c1ffd4cb0
5 changed files with 51 additions and 11 deletions

View file

@ -1,5 +1,14 @@
<script>
/**
* Use anchor link
* @type {string} [href]
*/
export let href = undefined;
/**
* Set to `true` if item is the current page
* @type {boolean} [isCurrentPage=false]
*/
export let isCurrentPage = false;
import { Link } from "../Link";