@openocean.finance/widget
Version:
Openocean Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
14 lines (13 loc) • 691 B
TypeScript
import type { ChangeEventHandler, FocusEventHandler } from 'react';
/** 与 MUI InputBase inputProps 一致:底层可为 input 或 textarea */
interface SearchInputProps {
name?: string;
value?: string;
placeholder?: string;
onChange?: ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
onBlur?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
autoFocus?: boolean;
}
export declare const SearchInput: ({ name, placeholder, onChange, onBlur, value, autoFocus, }: SearchInputProps) => import("react/jsx-runtime").JSX.Element;
export declare const StickySearchInput: (props: SearchInputProps) => import("react/jsx-runtime").JSX.Element;
export {};