Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
19 lines
838 B
Plaintext
19 lines
838 B
Plaintext
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>>;
|