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 | FilteringStyledOptions,
|
16 | CreateStyledComponent
|
17 | } from './base'
|
18 |
|
19 | export type StyledTags = {
|
20 | [Tag in keyof JSX.IntrinsicElements]: CreateStyledComponent<
|
21 | {
|
22 | theme?: Theme
|
23 | as?: React.ElementType
|
24 | },
|
25 | JSX.IntrinsicElements[Tag]
|
26 | >
|
27 | }
|
28 |
|
29 | export interface CreateStyled extends BaseCreateStyled, StyledTags {}
|
30 |
|
31 | declare const styled: CreateStyled
|
32 | export default styled
|