in Dataset/JS/ReactSelect/index.tsx [1908:1925]
renderIndicatorSeparator() {
const { DropdownIndicator, IndicatorSeparator } = this.getComponents();
// separator doesn't make sense without the dropdown indicator
if (!DropdownIndicator || !IndicatorSeparator) return null;
const { commonProps } = this;
const { isDisabled } = this.props;
const { isFocused } = this.state;
return (
<IndicatorSeparator
{...commonProps}
isDisabled={isDisabled}
isFocused={isFocused}
/>
);
}