docs: tweak copy

This commit is contained in:
Eric Liu 2020-10-22 17:30:50 -07:00
commit 829275e594
5 changed files with 13 additions and 5 deletions

View file

@ -10,6 +10,8 @@ components: ["Breadcrumb", "BreadcrumbItem"]
import Preview from "../../components/Preview.svelte";
</script>
See the [Breadcrumbs recipe](/recipes/Breadcrumbs) for building a reusable breadcrumbs component.
### Default
<Breadcrumb>

View file

@ -13,10 +13,10 @@
### Status states
<InlineLoading status="active" />
<InlineLoading status="inactive" />
<InlineLoading status="finished" />
<InlineLoading status="error" />
<InlineLoading status="active" description="Submitting..." />
<InlineLoading status="inactive" description="Cancelling..." />
<InlineLoading status="finished" description="Success" />
<InlineLoading status="error" description="An error occurred" />
### UX example

View file

@ -5,6 +5,8 @@
### Default
The `Search` component is extra-large by default. There are [large](#large-size) and [small](#small-size) size variants.
<Search />
### Default value

View file

@ -5,7 +5,7 @@
const descriptionMap = {
active: "Submitting...",
finished: "Success",
inactive: "Cancelled",
inactive: "Cancelling...",
};
const stateMap = {