Guest User

Untitled

a guest
Sep 25th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. class Input extends React.Component{
  2. constructor(props){
  3. super(props);
  4. }
  5. render(){
  6. console.log(this.props);
  7. return(
  8. <input type={this.props.type} placeholder={this.props.placeholder} value={this.props.value}/>
  9. );
  10. }
  11. }
Add Comment
Please, Sign In to add comment