flowbite-svelte
Version:
Flowbite components for Svelte
53 lines (52 loc) • 1.6 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { FormSizeType } from '../types';
declare const __propDef: {
props: Omit<import("svelte/elements").HTMLInputAttributes, "size"> & {
type?: import("../types").InputType;
value?: any;
size?: FormSizeType;
clearable?: boolean;
defaultClass?: string;
color?: "base" | "green" | "red";
floatClass?: string;
classLeft?: string;
classRight?: string;
wrapperClass?: string;
} & {
size?: FormSizeType;
placeholder?: string;
value?: any;
};
events: {
blur: FocusEvent;
change: CustomEvent<any>;
input: Event;
click: MouseEvent;
focus: FocusEvent;
keydown: KeyboardEvent;
keypress: KeyboardEvent;
keyup: KeyboardEvent;
mouseenter: MouseEvent;
mouseleave: MouseEvent;
mouseover: MouseEvent;
paste: ClipboardEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type SearchProps = typeof __propDef.props;
export type SearchEvents = typeof __propDef.events;
export type SearchSlots = typeof __propDef.slots;
/**
* [Go to docs](https://flowbite-svelte.com/)
* ## Props
* @prop export let size: NonNullable<$$Props['size']> = 'lg';
* @prop export let placeholder: $$Props['placeholder'] = 'Search';
* @prop export let value: $$Props['value'] = undefined;
*/
export default class Search extends SvelteComponentTyped<SearchProps, SearchEvents, SearchSlots> {
}
export {};