如何调用页脚文件到LoginPage

时间:2019-05-23 17:20:04

标签: reactjs react-bootstrap

在组件..和LoginPage中添加了页脚文件,试图对其进行调用。但什么都没出现

或 const FooterPage =()=>(   

<Footer />

);

const FooterPage =()=>(   

<Footer />

);

返回(

  <Form onSubmit={this.onSubmit} className="login-form">


    <Container>
      <Row>
        <Col xs={6} md={4}>
          <Image className="Image" src={img1} rounded />
        </Col>
      </Row>
    </Container>


    <h3>



    <FormGroup>
      <Label>Email</Label>
      <Input name="email" type="email" value={email} placeholder="Email" onChange={this.onChange} />
    </FormGroup>
    <FormGroup>
      <Label>Password</Label>
      <Input name="password" type="password" value={password} placeholder="Password" onChange={this.onChange} />
    </FormGroup>
    <Button className="btn-sm btn-dark btn-block pt-3" disabled={isInvalid}> Log in </Button>
    <div className="text-sm-center pt-3">
      <PasswordForgetLink />
    </div>

    {error && <p>{error.message}</p>}
  </Form>


);

const FooterPage =()=>(     

  <Footer />
</div>

);

0 个答案:

没有答案