feat: Select all for synchronous select (#22084)

Co-authored-by: GITHUB_USERNAME <EMAIL>
This commit is contained in:
cccs-RyanK
2023-01-18 07:41:58 -05:00
committed by GitHub
parent ad758c0802
commit 02c9242d68
10 changed files with 429 additions and 50 deletions

View File

@@ -71,7 +71,7 @@ import {
TOKEN_SEPARATORS,
DEFAULT_SORT_COMPARATOR,
} from './constants';
import { oneLineTagRender } from './CustomTag';
import { customTagRender } from './CustomTag';
const Error = ({ error }: { error: string }) => (
<StyledError>
@@ -517,7 +517,7 @@ const AsyncSelect = forwardRef(
)
}
oneLine={oneLine}
tagRender={oneLine ? oneLineTagRender : undefined}
tagRender={customTagRender}
{...props}
ref={ref}
>