Skip to content

Commit cd7f54c

Browse files
author
王一
committed
submit version 0.3.1
1 parent c27f0d1 commit cd7f54c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example/basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"react-dom": "^16.8.6",
1919
"moment": "^2.24.0",
2020
"classnames": "^2.2.6",
21-
"react-class-hookable": "^0.3.0"
21+
"react-class-hookable": "^0.3.1"
2222
},
2323
"devDependencies": {
2424
"@babel/core": "7.2.2",

example/basic/src/Layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, {Component, useCallback, useEffect, useState} from 'react';
22
import {Button} from "antd";
3-
import hookable,{hookDecorator} from "react-class-hookable";
3+
import hookable,{hookDecorator,withHookable} from "react-class-hookable";
44

5-
@hookDecorator()
5+
@withHookable()
66
class ArrowRender extends Component{
77

88
renderButton=()=>{

0 commit comments

Comments
 (0)