mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
Document DatePicker
usage with a Rollup set-up (#990)
* chore(example): add inlineDynamicImports: true * docs(date-picker): add note for using DatePicker with Rollup Closes #986
This commit is contained in:
parent
502f9379fa
commit
01a548fee0
2 changed files with 11 additions and 1 deletions
|
@ -3,7 +3,7 @@ components: ["DatePicker", "DatePickerInput", "DatePickerSkeleton"]
|
|||
---
|
||||
|
||||
<script>
|
||||
import { DatePicker, DatePickerSkeleton, DatePickerInput } from "carbon-components-svelte";
|
||||
import { DatePicker, DatePickerSkeleton, DatePickerInput, InlineNotification } from "carbon-components-svelte";
|
||||
import Preview from "../../components/Preview.svelte";
|
||||
</script>
|
||||
|
||||
|
@ -63,6 +63,15 @@ components: ["DatePicker", "DatePickerInput", "DatePickerSkeleton"]
|
|||
|
||||
### 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" />
|
||||
|
||||
### Range
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue