mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
docs(date-picker): extract single type to iframe
This commit is contained in:
parent
50ea31db95
commit
a363e4169b
2 changed files with 8 additions and 3 deletions
|
@ -57,9 +57,7 @@ components: ["DatePicker", "DatePickerInput", "DatePickerSkeleton"]
|
|||
|
||||
### Single
|
||||
|
||||
<DatePicker datePickerType="single" on:change>
|
||||
<DatePickerInput labelText="Schedule a meeting" placeholder="mm/dd/yyyy" />
|
||||
</DatePicker>
|
||||
<FileSource src="/framed/DatePicker/DatePickerSingle" />
|
||||
|
||||
### Range
|
||||
|
||||
|
|
7
docs/src/pages/framed/DatePicker/DatePickerSingle.svelte
Normal file
7
docs/src/pages/framed/DatePicker/DatePickerSingle.svelte
Normal file
|
@ -0,0 +1,7 @@
|
|||
<script>
|
||||
import { DatePicker, DatePickerInput } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<DatePicker datePickerType="single" on:change>
|
||||
<DatePickerInput labelText="Meeting date" placeholder="mm/dd/yyyy" />
|
||||
</DatePicker>
|
Loading…
Add table
Add a link
Reference in a new issue