Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardxiao committed Feb 18, 2022
1 parent 21672dd commit 3e2f32b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 4.9.0

- Update readme

# 4.8.9

- Fix 'undefined' classname for ```__container```
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,11 @@ import 'react-inputs-validation/lib/react-inputs-validation.min.css';
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-inputs-validation/4.4.1/react-inputs-validation.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.21.1/babel.min.js"></script>
<script type="text/babel">
class App extends React.Component {
...
render() {
return <Textbox value={value} onBlur={()=>{}} .../>;
}
}
ReactDOM.render(<App />, document.getElementById('root'));
const App = React.memo(() => {
const [value, setValue] = React.useState('');
return (<Textbox value={value} onBlur={()=>{}} .../>)
});
ReactDOM.render(<App />, document.getElementById('root'));
</script>
</body>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-inputs-validation",
"version": "4.8.8",
"version": "4.9.0",
"description": "A react component for form inputs validation.",
"main": "index.js",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit 3e2f32b

Please sign in to comment.