mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
parent
186d2863d3
commit
08402e54bf
5 changed files with 32 additions and 4 deletions
8
types/Form/Form.svelte.d.ts
vendored
8
types/Form/Form.svelte.d.ts
vendored
|
@ -2,7 +2,13 @@
|
|||
import { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export interface FormProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["form"]> {}
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["form"]> {
|
||||
/**
|
||||
* Obtain a reference to the form element
|
||||
* @default null
|
||||
*/
|
||||
ref?: null | HTMLFormElement;
|
||||
}
|
||||
|
||||
export default class Form extends SvelteComponentTyped<
|
||||
FormProps,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue