-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
708d4ec
commit 721927a
Showing
2 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
frontend/packages/volto-portal-governo/src/components/Endereco/Endereco.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from 'react'; | ||
import { Container } from '@plone/components'; | ||
|
||
const Endereco = (props) => { | ||
const { endereco, complemento, cidade, estado, cep } = props.content; | ||
return ( | ||
<Container className="contato"> | ||
<Container className="endereco"> | ||
<span>Endereço</span>: <span>{endereco}</span> | ||
</Container> | ||
<Container className="endereco"> | ||
<span>Complemento</span>: <span>{complemento}</span> | ||
</Container> | ||
<Container className="endereco"> | ||
<span>Cidade</span>: <span>{cidade}</span> | ||
</Container> | ||
<Container className="endereco"> | ||
<span>Estado</span>: <span>{estado}</span> | ||
</Container> | ||
<Container className="endereco"> | ||
<span>CEP</span>: <span>{cep}</span> | ||
</Container> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default Endereco; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters