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 bc85d58 commit 09fc82fCopy full SHA for 09fc82f
src/__tests__/__snapshots__/main-test.js.snap
@@ -40,3 +40,19 @@ Object {
40
}
41
42
`;
43
+
44
+exports[`main fixtures processes component "component_3.js" without errors 1`] = `
45
+Object {
46
+ "description": "",
47
+ "methods": Array [],
48
+ "props": Object {
49
+ "style": Object {
50
51
+ "required": false,
52
+ "type": Object {
53
+ "name": "object"
54
+ }
55
56
57
+}
58
+`;
src/__tests__/fixtures/component_3.js
@@ -0,0 +1,13 @@
1
+import React, { PropTypes } from 'react';
2
+import extendStyles from 'enhancers/extendStyles';
3
4
+const Test = props =>
5
+ <div style={props.style}>
6
+ Hello world!
7
+ </div>;
8
9
+Test.propTypes = {
10
+ style: PropTypes.object,
11
+};
12
13
+export default extendStyles(Test);
0 commit comments