Wanhenri / Projeto-ERP

0 stars 0 forks source link

Create Botton #25

Closed Wanhenri closed 4 years ago

Wanhenri commented 4 years ago

Create Botton in 'Data' component.

Wanhenri commented 4 years ago

pass path in

<SimpleTable name="Vendor"  code="CNPJ" price="City " button="Add Vendor" path="/vendor"/>

and through the 'Link':

        <Link to={props.path}>
          <Button style={{marginBottom:20 }}>{props.button}</Button>
        </Link>