Blame view

天文台pc/tianwentai-ui/node_modules/@emotion/react/dist/declarations/src/class-names.d.ts 838 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  import * as React from 'react';
  import { CSSInterpolation } from '@emotion/serialize';
  import { Theme } from "./theming.js";
  export interface ArrayClassNamesArg extends Array<ClassNamesArg> {
  }
  export type ClassNamesArg = undefined | null | string | boolean | {
      [className: string]: boolean | null | undefined;
  } | ArrayClassNamesArg;
  export interface ClassNamesContent {
      css(template: TemplateStringsArray, ...args: Array<CSSInterpolation>): string;
      css(...args: Array<CSSInterpolation>): string;
      cx(...args: Array<ClassNamesArg>): string;
      theme: Theme;
  }
  export interface ClassNamesProps {
      children(content: ClassNamesContent): React.ReactNode;
  }
  export declare const ClassNames: React.FC<ClassNamesProps & React.RefAttributes<any>> | React.ForwardRefExoticComponent<ClassNamesProps & React.RefAttributes<any>>;