Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
441 B
2
Indexable
Never
import React, { Component } from 'react'

export class formdemo extends Component {
  constructor(props) {
    super(props)
    this.state={
        un:"",
        br:""
    }
    this.state.br=""
  }
  handleun=(event)=>{

  }
  render(){
     return (
        <form>
            <input type = "text" value = {this.state.un}/>
            <input type = "text" value = {this.state.br}/>
        </form>
    )
  }
}

export default formdemo

Leave a Comment