@trussworks/react-uswds
Version:
React USWDS 3 component library
15 lines (14 loc) • 592 B
TypeScript
import { default as React, JSX } from 'react';
import { OptionalTextInputProps } from '../../forms/TextInput/TextInput';
type SearchFieldProps = {
isBig?: boolean;
className?: string;
inputName?: string;
inputId?: string;
placeholder?: string;
defaultValue?: React.ReactNode;
label?: React.ReactNode;
inputProps?: JSX.IntrinsicElements['input'];
};
export declare const SearchField: ({ isBig, className, placeholder, defaultValue, inputName, label, inputId, inputProps, }: SearchFieldProps & OptionalTextInputProps) => JSX.Element;
export default SearchField;