mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
refactor(types): shorten ref, id JSDocs, use CarbonIcon type, export component props
This commit is contained in:
parent
d38e6d8be6
commit
75d4b4cf03
219 changed files with 5168 additions and 5259 deletions
27
types/Search/SearchSkeleton.d.ts
vendored
27
types/Search/SearchSkeleton.d.ts
vendored
|
@ -1,19 +1,20 @@
|
|||
/// <reference types="svelte" />
|
||||
|
||||
export interface SearchSkeletonProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
small?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the size of the search input
|
||||
* @default "xl"
|
||||
*/
|
||||
size?: "sm" | "lg" | "xl";
|
||||
}
|
||||
|
||||
export default class SearchSkeleton {
|
||||
$$prop_def: svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> & {
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
small?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the size of the search input
|
||||
* @default "xl"
|
||||
*/
|
||||
size?: "sm" | "lg" | "xl";
|
||||
};
|
||||
|
||||
$$prop_def: SearchSkeletonProps;
|
||||
$$slot_def: {};
|
||||
|
||||
$on(eventname: "click", cb: (event: WindowEventMap["click"]) => void): () => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue