UNPKG

764 BTypeScriptView Raw
1import { Theme } from '@emotion/react';
2import { ReactJSXIntrinsicElements } from "./jsx-namespace.js";
3import { CreateStyledComponent, CreateStyled as BaseCreateStyled } from "./types.js";
4export type { ArrayInterpolation, ComponentSelector, CSSObject, FunctionInterpolation, Interpolation } from '@emotion/serialize';
5export type { CreateStyledComponent, FilteringStyledOptions, StyledComponent, StyledOptions } from "./types.js";
6export type StyledTags = {
7 [Tag in keyof ReactJSXIntrinsicElements]: CreateStyledComponent<{
8 theme?: Theme;
9 as?: React.ElementType;
10 }, ReactJSXIntrinsicElements[Tag]>;
11};
12export interface CreateStyled extends BaseCreateStyled, StyledTags {
13}
14declare const newStyled: CreateStyled;
15export default newStyled;