Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- const input = (props) => {
- return
- (
- <div>
- <p> This is an input by {props.name} </p>
- <p>{props.children}</p>
- <input type='Text' onChange={props.changed} value={props.name} />
- </div>
- )
- };
- export default input;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement