mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
chore: use sveld to generate types, component docs
This commit is contained in:
parent
75d4b4cf03
commit
380a780b65
15 changed files with 13298 additions and 4888 deletions
12
types/Button/Button.d.ts
vendored
12
types/Button/Button.d.ts
vendored
|
@ -86,7 +86,17 @@ export interface ButtonProps {
|
|||
export default class Button {
|
||||
$$prop_def: ButtonProps;
|
||||
$$slot_def: {
|
||||
default: { props: undefined };
|
||||
default: {
|
||||
props?: {
|
||||
role: "button";
|
||||
type?: string;
|
||||
tabindex: string;
|
||||
disabled: boolean;
|
||||
href?: string;
|
||||
class: string;
|
||||
[key: string]: any;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
$on(eventname: "click", cb: (event: WindowEventMap["click"]) => void): () => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue