@@ -526,9 +526,9 @@ The API for an individual style function looks like this:
526526
527527``` js
528528/**
529- * @param {CSSObject } provided -- The component's default Chakra styles
529+ * @param {SystemStyleObject } provided -- The component's default Chakra styles
530530 * @param {Object} state -- The component's current state e.g. `isFocused` (this gives all of the same props that are passed into the component)
531- * @returns {CSSObject } An output style object which is forwarded to the component's `sx` prop
531+ * @returns {SystemStyleObject } An output style object which is forwarded to the component's `sx` prop
532532 */
533533function option (provided , state ) {
534534 return {
@@ -807,7 +807,7 @@ offered by this package:
807807 `chakraStyles` that can be passed to customize the component styles. This is
808808 almost identical to the built-in `StylesConfig` type, however, it uses
809809 Chakra's
810- [`CSSObject `](https://github.com/chakra-ui/chakra-ui/blob/790d2417a3f5d59e2d69229a027af671c2dc0cbc /packages/styled-system/src/system.types.ts#L81 )
810+ [`SystemStyleObject `](https://github.com/chakra-ui/chakra-ui/blob/v2 /packages/styled-system/src/system.types.ts#L80 )
811811 type instead of react-select's emotion styles. It also has the same three
812812 generics as your `Select` component which would be required if you define your
813813 styles separately from your component.
@@ -1042,7 +1042,7 @@ const App = () => (
10421042 components = { asyncComponents }
10431043 loadOptions = { (inputValue , callback ) => {
10441044 setTimeout (() => {
1045- const values = colourOptions .filter ((i ) =>
1045+ const values = colorOptions .filter ((i ) =>
10461046 i .label .toLowerCase ().includes (inputValue .toLowerCase ())
10471047 );
10481048 callback (values );
0 commit comments