Skip to content

Commit 148590a

Browse files
committed
Fix docstrings
1 parent c587f40 commit 148590a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/components/src/SearchInput.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ import { ContextActions } from './context-actions';
1010
interface SearchInputProps {
1111
value: string;
1212
placeholder: string;
13-
endPlaceholder?: string; // Optional placeholder text shown on the right side of the input when empty
13+
/** Placeholder text shown on the right side of the input when empty */
14+
endPlaceholder?: string;
1415
onBlur?: React.FocusEventHandler<HTMLInputElement>;
1516
onChange: React.ChangeEventHandler<HTMLInputElement>;
1617
onKeyDown: React.KeyboardEventHandler<HTMLInputElement>;
1718
className: string;
1819
disabled?: boolean;
19-
matchCount: number; // Number of search matches
20+
/** Number of search matches, displayed at the end of the search field. */
21+
matchCount: number;
2022
id: string;
2123
'data-testid'?: string;
2224
cursor?: {

0 commit comments

Comments
 (0)