mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
docs(date-picker): add note for using DatePicker with Rollup
Closes #986
This commit is contained in:
parent
014f7bfd7b
commit
426d1aa43b
1 changed files with 10 additions and 1 deletions
|
@ -3,7 +3,7 @@ components: ["DatePicker", "DatePickerInput", "DatePickerSkeleton"]
|
||||||
---
|
---
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { DatePicker, DatePickerSkeleton, DatePickerInput } from "carbon-components-svelte";
|
import { DatePicker, DatePickerSkeleton, DatePickerInput, InlineNotification } from "carbon-components-svelte";
|
||||||
import Preview from "../../components/Preview.svelte";
|
import Preview from "../../components/Preview.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -63,6 +63,15 @@ components: ["DatePicker", "DatePickerInput", "DatePickerSkeleton"]
|
||||||
|
|
||||||
### Single
|
### Single
|
||||||
|
|
||||||
|
<InlineNotification
|
||||||
|
svx-ignore
|
||||||
|
lowContrast
|
||||||
|
title="Note:"
|
||||||
|
subtitle="If using Rollup, specify `inlineDynamicImports: true` in your `rollup.config.js`."
|
||||||
|
kind="info"
|
||||||
|
hideCloseButton
|
||||||
|
/>
|
||||||
|
|
||||||
<FileSource src="/framed/DatePicker/DatePickerSingle" />
|
<FileSource src="/framed/DatePicker/DatePickerSingle" />
|
||||||
|
|
||||||
### Range
|
### Range
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue