File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/styled-base/types Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 12
12
* a style of that component.
13
13
*/
14
14
15
- import { ComponentSelector , Interpolation } from '@emotion/serialize'
15
+ import { ComponentSelector , Interpolation , CSSObject } from '@emotion/serialize'
16
16
import * as React from 'react'
17
17
18
18
import { Omit , Overwrapped , PropsOf } from './helper'
19
19
20
20
export {
21
21
ArrayInterpolation ,
22
- CSSObject ,
23
22
FunctionInterpolation ,
24
23
ObjectInterpolation
25
24
} from '@emotion/serialize'
26
25
27
- export { ComponentSelector , Interpolation }
26
+ export { ComponentSelector , Interpolation , CSSObject }
28
27
29
28
type JSXInEl = JSX . IntrinsicElements
30
29
@@ -72,7 +71,7 @@ export interface CreateStyledComponentBase<
72
71
ReactClassPropKeys
73
72
> = Omit < InnerProps & ExtraProps , ReactClassPropKeys >
74
73
> (
75
- template : TemplateStringsArray ,
74
+ template : TemplateStringsArray | CSSObject ,
76
75
...styles : Array < Interpolation < WithTheme < StyleProps , Theme > > >
77
76
) : StyledComponent < InnerProps , StyleProps , Theme >
78
77
}
You can’t perform that action at this time.
0 commit comments