mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
docs: specify minimum Svelte version requirement
This commit is contained in:
parent
aee7f3ba76
commit
f59daa20a2
2 changed files with 12 additions and 2 deletions
|
@ -31,6 +31,8 @@ Other forms of documentation are auto-generated:
|
|||
|
||||
Install `carbon-components-svelte` as a development dependency.
|
||||
|
||||
A minimum Svelte version of 3.48.0 is required to use this library.
|
||||
|
||||
```sh
|
||||
# Yarn
|
||||
yarn add -D carbon-components-svelte
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
OutboundLink,
|
||||
RadioButtonGroup,
|
||||
RadioButton,
|
||||
InlineNotification,
|
||||
} from "carbon-components-svelte";
|
||||
import TileCard from "../components/TileCard.svelte";
|
||||
import { theme } from "../store";
|
||||
|
@ -89,8 +90,15 @@
|
|||
</Column>
|
||||
</Row>
|
||||
<Row style="margin-bottom: var(--cds-layout-02)">
|
||||
<Column>
|
||||
<h3>Installation</h3>
|
||||
<Column max="{10}" xlg="{10}">
|
||||
<h3 style="margin-top: var(--cds-layout-02)">Installation</h3>
|
||||
<InlineNotification
|
||||
style="max-width: calc(48rem - 1rem);"
|
||||
kind="info"
|
||||
subtitle="A minimum Svelte version of 3.48.0 is required to use this library."
|
||||
lowContrast
|
||||
hideCloseButton
|
||||
/>
|
||||
</Column>
|
||||
</Row>
|
||||
<Row style="margin-bottom: var(--cds-layout-02)">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue