Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Input extends React.Component{
- constructor(props){
- super(props);
- }
- render(){
- console.log(this.props);
- return(
- <input type={this.props.type} placeholder={this.props.placeholder} value={this.props.value}/>
- );
- }
- }
Add Comment
Please, Sign In to add comment