File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 44 "homepage" : " https://github.com/javivelasco/react-css-themr#readme" ,
55 "version" : " 1.5.0" ,
66 "main" : " ./lib" ,
7+ "typings" : " ./src/index.d.ts" ,
78 "author" : {
89 "email" : " javier.velasco86@gmail.com" ,
910 "name" : " Javi Velasco" ,
2829 },
2930 "devDependencies" : {
3031 "babel-cli" : " ^6.7.7" ,
31- "babel-core" : " ^6.7.7 " ,
32+ "babel-core" : " ^6.18.0 " ,
3233 "babel-eslint" : " ^6.0.3" ,
3334 "babel-plugin-transform-decorators-legacy" : " ^1.3.4" ,
34- "babel-preset-es2015" : " ^6.6 .0" ,
35+ "babel-preset-es2015" : " ^6.18 .0" ,
3536 "babel-preset-react" : " ^6.5.0" ,
36- "babel-preset-stage-0" : " ^6.5 .0" ,
37+ "babel-preset-stage-0" : " ^6.16 .0" ,
3738 "eslint" : " ^2.8.0" ,
3839 "eslint-config-rackt" : " ^1.1.1" ,
3940 "eslint-plugin-babel" : " ^3.2.0" ,
Original file line number Diff line number Diff line change 1+ declare module "react-css-themr"
2+ {
3+ export interface IThemrOptions
4+ {
5+ /** @default "deeply" */
6+ composeTheme ?: "deeply" | "softly" | false ,
7+ /** @default false */
8+ withRef ?: boolean
9+ }
10+
11+ export interface ThemeProviderProps
12+ {
13+ theme : { }
14+ }
15+
16+ export class ThemeProvider extends React . Component < ThemeProviderProps , any >
17+ {
18+
19+ }
20+
21+ export function themr (
22+ identifier : string ,
23+ defaultTheme ?: { } ,
24+ options ?: IThemrOptions
25+ ) ;
26+ }
You can’t perform that action at this time.
0 commit comments