UNPKG

@lifi/widget

Version:

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

16 lines (15 loc) 710 B
import type { FocusEventHandler, FormEventHandler, RefObject } from 'react'; interface SearchInputProps { inputRef?: RefObject<HTMLInputElement | null>; name?: string; value?: string; placeholder?: string; onChange?: FormEventHandler<HTMLInputElement>; onBlur?: FocusEventHandler<HTMLInputElement>; onClear?: () => void; autoFocus?: boolean; size?: 'small' | 'medium'; } export declare const SearchInput: ({ inputRef, name, placeholder, onChange, onBlur, onClear, value, autoFocus, size, }: SearchInputProps) => import("react/jsx-runtime").JSX.Element; export declare const StickySearchInput: (props: SearchInputProps) => import("react/jsx-runtime").JSX.Element; export {};