Skip to content

Commit 3db87c9

Browse files
authored
fix: Added missing prop 'inlineSearchPlaceholder' in 'TextProps' interface (#434)
1 parent 2701aa2 commit 3db87c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/react-dropdown-tree-select.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ declare module 'react-dropdown-tree-select' {
154154
export interface TextProps {
155155
/** The text to display as placeholder on the search box. Defaults to Choose... */
156156
placeholder?: string
157+
/** The text to display as placeholder on the inline search box. Only applicable with the `inlineSearchInput` setting. Defaults to `Search...` */
158+
inlineSearchPlaceholder?: string
157159
/** The text to display when the search does not find results in the content list. Defaults to No matches found */
158160
noMatches?: string
159161
/** Adds `aria-labelledby` to search input when input starts with `#`, adds `aria-label` to search input when label has value (not containing '#') */

0 commit comments

Comments
 (0)