From 560d88c36e260b88b2ddacf891efaf8f95af5e35 Mon Sep 17 00:00:00 2001 From: Pascal Date: Thu, 27 Jun 2019 09:10:13 +0200 Subject: [PATCH] added noOptionsMessage to common props --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 61ee0badd9..fc86712f22 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ Common props you may want to specify include: - `onChange` - subscribe to change events - `options` - specify the options the user can select from - `placeholder` - change the text displayed when no option is selected +- `noOptionsMessage` - ({ inputValue: string }) => string | null - Text to display when there are no options - `value` - control the current value See the [props documentation](https://www.react-select.com/props) for complete documentation on the props react-select supports.