mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
Run "yarn build:docs"
This commit is contained in:
parent
9a3b3a56fd
commit
0438acd3aa
165 changed files with 364 additions and 172 deletions
20
types/Button/Button.svelte.d.ts
vendored
20
types/Button/Button.svelte.d.ts
vendored
|
@ -1,6 +1,6 @@
|
|||
/// <reference types="svelte" />
|
||||
import { SvelteComponentTyped } from "svelte";
|
||||
import { ButtonSkeletonProps } from "./ButtonSkeleton.svelte";
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
import type { ButtonSkeletonProps } from "./ButtonSkeleton.svelte";
|
||||
|
||||
export interface ButtonProps
|
||||
extends ButtonSkeletonProps,
|
||||
|
@ -105,6 +105,22 @@ export interface ButtonProps
|
|||
* @default null
|
||||
*/
|
||||
ref?: null | HTMLAnchorElement | HTMLButtonElement;
|
||||
|
||||
/**
|
||||
* SvelteKit attribute to enable data prefetching
|
||||
* if a link is hovered over or touched on mobile.
|
||||
* @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch
|
||||
* @default false
|
||||
*/
|
||||
"sveltekit:prefetch"?: boolean;
|
||||
|
||||
/**
|
||||
* SvelteKit attribute to prevent scrolling
|
||||
* after the link is clicked.
|
||||
* @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch
|
||||
* @default false
|
||||
*/
|
||||
"sveltekit:noscroll"?: boolean;
|
||||
}
|
||||
|
||||
export default class Button extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue