Skip to content

Commit

Permalink
Merge pull request #6 from csandman/csandman/single-value-color
Browse files Browse the repository at this point in the history
Fix single value s
  • Loading branch information
csandman committed Sep 29, 2021
2 parents ccb3608 + 9a21101 commit b05ea87
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ dist

# TernJS port file
.tern-port

.DS_Store
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chakra-react-select",
"version": "1.2.0",
"version": "1.2.1",
"description": "A chakra-ui wrapper for the popular select library react-select",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
1 change: 1 addition & 0 deletions src/chakra-react-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const chakraStyles: ChakraSelectProps["styles"] = {
selectProps: { multiValueRemoveFocusStyle },
}
) => (isFocused ? multiValueRemoveFocusStyle : {}),
singleValue: ({ color, ...provided }) => provided,
control: () => ({}),
menuList: () => ({}),
option: () => ({}),
Expand Down

0 comments on commit b05ea87

Please sign in to comment.