Created
April 5, 2023 13:05
-
-
Save cristianoap/7b9e65e9da7a13701020111ef799e06c to your computer and use it in GitHub Desktop.
Chakra UI
This file contains hidden or 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
import { Box, Container, Heading } from '@chakra-ui/react' | |
const boxStyles = { | |
p: '10px', | |
bg: 'blue.400', | |
color: 'white', | |
m: '10px', | |
textAlign: 'center', | |
borderRadius: '5px', | |
} | |
function App() { | |
return ( | |
<Container | |
textAlign="center" | |
display="flex" | |
flexDirection="column" | |
alignItems="center" | |
justifyContent="center" | |
h="100vh" | |
> | |
<Heading>Meu primeiro projeto utilizando Chakra-ui!</Heading> | |
<Box sx={boxStyles}> | |
<a | |
href="https://github.com/camilacno/chakra-ui-tutorial" | |
target="_blank" | |
rel="noopener noreferrer" | |
> | |
Acesse o repositório | |
</a> | |
</Box> | |
</Container> | |
) | |
} | |
export default App | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment