@octopusdeploy/design-system-components
Version:
The design systems component library.
17 lines (16 loc) • 748 B
TypeScript
import React from "react";
export interface SearchInputProps {
value: string;
placeholder?: string;
onChange: (value: string) => void;
accessibleName: string;
autoFocus?: boolean;
fullWidth?: boolean;
onKeyDown?: (event: React.KeyboardEvent) => void;
onFocus?: () => void;
onBlur?: () => void;
"aria-activedescendant"?: string;
"aria-controls"?: string;
"aria-autocomplete"?: "list";
}
export declare function SearchInput({ value, placeholder, onChange, autoFocus, accessibleName, fullWidth, onKeyDown, onFocus, onBlur, "aria-activedescendant": ariaActiveDescendant, "aria-controls": ariaControls, "aria-autocomplete": ariaAutoComplete, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;