Closed Wanhenri closed 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>
Create Botton in 'Data' component.