diff --git a/README.md b/README.md index b8839eda..7e0768b1 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # carbon-components-svelte -> `carbon-components-svelte` is a Svelte component library that implements the [Carbon Design System](https://github.com/carbon-design-system), an open source design system by IBM. +carbon-components-svelte is a Svelte component library that implements the [Carbon Design System](https://github.com/carbon-design-system), an open source design system by IBM. -> A design system can facilitate frontend development and prototyping because it encourages reuse, consistency, and extensibility. +A design system can facilitate frontend development and prototyping because it encourages reuse, consistency, and extensibility. [![NPM][npm]][npm-url] [![Build][build]][build-badge] @@ -16,7 +16,7 @@ Install `carbon-components-svelte` as a development dependency. -```bash +```sh yarn add -D carbon-components-svelte # OR npm i -D carbon-components-svelte diff --git a/docs/src/components/ComponentApi.svelte b/docs/src/components/ComponentApi.svelte index ca3f22b5..bc7eb193 100644 --- a/docs/src/components/ComponentApi.svelte +++ b/docs/src/components/ComponentApi.svelte @@ -92,6 +92,13 @@ + {#if prop.reactive} +
+ Reactive +
+ {/if}
{#each prop.type.split(' | ') as type, i (type)} @@ -125,14 +132,6 @@ {/if} {/each} - - {#if prop.reactive} -
- Reactive -
- {/if}
{prop.value}