We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0e883d commit 073cd89Copy full SHA for 073cd89
index.d.ts
@@ -1,3 +1,5 @@
1
+import * as React from "react";
2
+
3
declare module "react-css-themr"
4
{
5
export interface IThemrOptions
@@ -18,9 +20,19 @@ declare module "react-css-themr"
18
20
19
21
}
22
23
+ interface ThemedComponent<P, S> extends React.Component<P, S>
24
+ {
25
+ getWrappedInstance(): React.Component<P, S>;
26
+ }
27
28
+ interface ThemedComponentClass<P, S> extends React.ComponentClass<P>
29
30
+ new(props?: P, context?: any): ThemedComponent<P, S>;
31
32
33
export function themr(
34
identifier: string,
35
defaultTheme?: {},
36
options?: IThemrOptions
- );
37
+ ): <P,S>(component: new(props?: P,context?: any)=>React.Component<P,S>)=>ThemedComponentClass<P,S>;
38
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments