UNPKG

@trussworks/react-uswds

Version:
15 lines (14 loc) 592 B
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;