mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
build: use svelte compiler to generate typescript definitions
This commit is contained in:
parent
ba2e77eb47
commit
5c829b5afc
16 changed files with 4948 additions and 948 deletions
|
@ -1,9 +1,28 @@
|
|||
<script>
|
||||
export let disabled = false;
|
||||
export let hidden = false;
|
||||
export let text = "";
|
||||
/**
|
||||
* Specify the option value
|
||||
* @type {string} [value=""]
|
||||
*/
|
||||
export let value = "";
|
||||
|
||||
/**
|
||||
* Specify the option text
|
||||
* @type {string} [text=""]
|
||||
*/
|
||||
export let text = "";
|
||||
|
||||
/**
|
||||
* Set to `true` to hide the option
|
||||
* @type {boolean} [hidden=false]
|
||||
*/
|
||||
export let hidden = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to disable the option
|
||||
* @type {boolean} [disabled=false]
|
||||
*/
|
||||
export let disabled = false;
|
||||
|
||||
import { getContext, onDestroy } from "svelte";
|
||||
|
||||
const ctx = getContext("Select") || getContext("TimePickerSelect");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue