chore: add more prop annotations

This commit is contained in:
Eric Liu 2020-07-25 06:26:49 -07:00
commit 773b18d314
75 changed files with 877 additions and 137 deletions

View file

@ -1,5 +1,9 @@
<script>
export let status = "active"; // "active" | "inactive" | "finished" | "error"
/**
* Set the loading status
* @type {"active" | "inactive" | "finished" | "error"} [status="active"]
*/
export let status = "active";
export let description = undefined;
export let iconDescription = undefined;
export let successDelay = 1500;