1 |
|
2 |
|
3 |
|
4 | import { Theme } from '@emotion/react'
|
5 | import { CreateStyled as BaseCreateStyled, CreateStyledComponent } from './base'
|
6 |
|
7 | export {
|
8 | ArrayInterpolation,
|
9 | ComponentSelector,
|
10 | CSSObject,
|
11 | FunctionInterpolation,
|
12 | Interpolation,
|
13 | StyledComponent,
|
14 | StyledOptions,
|
15 | CreateStyledComponent
|
16 | } from './base'
|
17 |
|
18 | export type StyledTags = {
|
19 | [Tag in keyof JSX.IntrinsicElements]: CreateStyledComponent<
|
20 | {
|
21 | theme?: Theme
|
22 | as?: React.ElementType
|
23 | },
|
24 | JSX.IntrinsicElements[Tag]
|
25 | >
|
26 | }
|
27 |
|
28 | export interface CreateStyled extends BaseCreateStyled, StyledTags {}
|
29 |
|
30 | declare const styled: CreateStyled
|
31 | export default styled
|