mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
docs: tweak copy
This commit is contained in:
parent
09511cc528
commit
829275e594
5 changed files with 13 additions and 5 deletions
|
@ -62,6 +62,10 @@
|
|||
color: #3ddbd9; /* teal 30 */
|
||||
}
|
||||
|
||||
.token.function {
|
||||
color: #9ef0f0;
|
||||
}
|
||||
|
||||
.token.token.language-javascript,
|
||||
.token.attr-value {
|
||||
color: #d4bbff; /* purple 30 */
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
const descriptionMap = {
|
||||
active: "Submitting...",
|
||||
finished: "Success",
|
||||
inactive: "Cancelled",
|
||||
inactive: "Cancelling...",
|
||||
};
|
||||
|
||||
const stateMap = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue