Closed Wanhenri closed 4 years ago
add Wrapper:
export const Wrapper = styled.section`
margin: 0 auto;
width: 80vw;
padding-right: 30px
`;
Call component 'SimpleTable' and pass props:
export default function Data() {
return (
<Wrapper >
<SimpleTable name="Product" code="Code" price="Price" />
<SimpleTable name="Vendor" code="CNPJ" price="City " />
</Wrapper>
);
}
Alignment error