Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const MyComponent = (props) => (
- <input type="text"></input>
- );
- const App = () => (
- <MyComponent minlength="4" maxlength="8"></MyComponent>
- );
- render(<App />, document.getElementById('root'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement