@sproutsocial/racine 9.1.1-theme-extension.0 → 9.1.1-theme-extension.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,8 @@ import { ThemeProvider } from "styled-components";
5
5
  import typeof { default as TypeTheme } from "../themes/default/theme";
6
6
 
7
7
  type TypeProps = {|
8
- theme?: TypeTheme,
8
+ // Not sure how to type acceptance of a custom function to override theme
9
+ theme?: TypeTheme | ((customTheme: TypeTheme) => ?TypeTheme),
9
10
  children: React.Node,
10
11
  |};
11
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "9.1.1-theme-extension.0",
3
+ "version": "9.1.1-theme-extension.1",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",
@@ -52,16 +52,13 @@
52
52
  },
53
53
  "lint-staged": {
54
54
  "**/*.js": [
55
- "eslint --fix",
56
- "git add"
55
+ "eslint --fix"
57
56
  ],
58
57
  "*.scss": [
59
- "stylelint --fix",
60
- "git add"
58
+ "stylelint --fix"
61
59
  ],
62
60
  "icons/*.svg": [
63
- "yarn icon-lint write",
64
- "git add"
61
+ "yarn icon-lint write"
65
62
  ]
66
63
  },
67
64
  "dependencies": {