cyphertap
Version:
Nostr, Lightning and Ecash on a single Button component
14 lines (13 loc) • 510 B
TypeScript
import type { HTMLInputAttributes, HTMLInputTypeAttribute } from "svelte/elements";
import { type WithElementRef } from "../../../utils.js";
type InputType = Exclude<HTMLInputTypeAttribute, "file">;
type Props = WithElementRef<Omit<HTMLInputAttributes, "type"> & ({
type: "file";
files?: FileList;
} | {
type?: InputType;
files?: undefined;
})>;
declare const Input: import("svelte").Component<Props, {}, "ref" | "value" | "files">;
type Input = ReturnType<typeof Input>;
export default Input;