Commit c34be36 1 parent bd42696 commit c34be36 Copy full SHA for c34be36
File tree 1 file changed +3
-2
lines changed
packages/toolkit-react/src/utils/types
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ export type InferProps<TComponent extends HTMLElement | React.ElementType> =
10
10
11
11
export type StateSetter < TSetter = unknown > = React . Dispatch < React . SetStateAction < TSetter > > ;
12
12
13
- export type MyCustomCss < TExtra extends Record < string , string > = NonNullable < unknown > > =
14
- React . CSSProperties & Record < `--${string } `, string > & TExtra ; // Allows Ts support for inline css variables
13
+ export type MyCustomCss < TExtra extends Record < string , string > = NonNullable < unknown > > = React . CSSProperties
14
+ & Record < `--${string } `, string >
15
+ & TExtra ; // Allows Ts support for inline css variables
15
16
16
17
/**
17
18
* @description Represents a set of props that can be used to render a component conditionally based on a discriminated union type.
You can’t perform that action at this time.
0 commit comments