File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-disable @typescript-eslint/no-unused-vars */
2
2
import type {
3
3
ColorPalette ,
4
+ ConditionalValue ,
4
5
SpinnerProps ,
5
6
SystemStyleObject ,
6
7
} from "@chakra-ui/react" ;
@@ -87,7 +88,7 @@ declare module "react-select/base" {
87
88
* @see {@link https://www.chakra-ui.com/docs/components/tag#colors }
88
89
* @see {@link https://www.chakra-ui.com/docs/styling/virtual-color }
89
90
*/
90
- tagColorPalette ?: ColorPalette ;
91
+ tagColorPalette ?: ConditionalValue < ColorPalette | string > ;
91
92
92
93
/**
93
94
* The `variant` prop that will be forwarded to your `MultiValue` component
@@ -123,7 +124,7 @@ declare module "react-select/base" {
123
124
* @see {@link https://github.com/csandman/chakra-react-select#selectedoptioncolorpalette--default-blue }
124
125
* @see {@link https://www.chakra-ui.com/docs/theming/customization/colors }
125
126
*/
126
- selectedOptionColorPalette ?: ColorPalette ;
127
+ selectedOptionColorPalette ?: ConditionalValue < ColorPalette | string > ;
127
128
128
129
/**
129
130
* The color value to style the border of the `Control` with when the
@@ -208,7 +209,7 @@ declare module "react-select" {
208
209
*
209
210
* @see {@link https://www.chakra-ui.com/docs/components/spinner#colors }
210
211
*/
211
- colorPalette ?: ColorPalette ;
212
+ colorPalette ?: ConditionalValue < ColorPalette | string > ;
212
213
213
214
/**
214
215
* The color of the filled in area of the spinner.
You can’t perform that action at this time.
0 commit comments