neo-cmp-cli 1.10.1 → 1.10.2
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.
package/package.json
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
// 引入 neo-ui-common / BaseCmp
|
|
3
|
-
// @ts-ignore
|
|
4
|
-
import { BaseCmp } from 'neo-ui-common';
|
|
5
2
|
import './style.scss'; // 组件内容样式
|
|
6
3
|
|
|
7
4
|
interface CustomCmpProps {
|
|
@@ -14,7 +11,7 @@ interface CustomCmpStates {
|
|
|
14
11
|
[key: string]: any;
|
|
15
12
|
}
|
|
16
13
|
|
|
17
|
-
export default class CustomCmp extends
|
|
14
|
+
export default class CustomCmp extends React.PureComponent<CustomCmpProps, CustomCmpStates> {
|
|
18
15
|
constructor(props: CustomCmpProps) {
|
|
19
16
|
super(props);
|
|
20
17
|
}
|