From 2543e90c09fa8a9be1d851fd694550acbb2728f3 Mon Sep 17 00:00:00 2001 From: Roger Chen Date: Sun, 17 Apr 2016 07:48:38 -0700 Subject: [PATCH] Fix definition for optionRenderer in react-select (#8957) --- react-select/react-select-tests.tsx | 2 ++ react-select/react-select.d.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/react-select/react-select-tests.tsx b/react-select/react-select-tests.tsx index 050ef1a51e..b5258d85ca 100644 --- a/react-select/react-select-tests.tsx +++ b/react-select/react-select-tests.tsx @@ -14,12 +14,14 @@ class SelectTest extends React.Component, {}> { const onChange = (value: any) => console.log(value); const onOpen = () => { return; }; const onClose = () => { return; }; + const optionRenderer = (option: ReactSelect.Option) => {option.label} return