mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
react-select: Allow placeholder to be an Element (#9061)
This commit is contained in:
committed by
Masahiro Wakame
parent
458feddf12
commit
ed728ac598
2
react-select/react-select.d.ts
vendored
2
react-select/react-select.d.ts
vendored
@@ -173,7 +173,7 @@ declare namespace ReactSelect {
|
||||
* field placeholder, displayed when there's no value
|
||||
* @default "Select..."
|
||||
*/
|
||||
placeholder?: string;
|
||||
placeholder?: string | __React.ReactElement<any>;
|
||||
/**
|
||||
* whether to enable searching feature or not
|
||||
* @default true;
|
||||
|
||||
Reference in New Issue
Block a user