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