Download dev.to-clone/src/components/profile/customizeProfile/Work.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/dev.to-clone/src/components/profile/customizeProfile/Work.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/dev.to-clone/src/components/profile/customizeProfile/Work.jsx
-
curl -L -o Work.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/dev.to-clone/src/components/profile/customizeProfile/Work.jsx
1.07 kB
| import React from 'react'; | |
| import { Box, Input, Text, VStack } from '@chakra-ui/react'; | |
| import { | |
| titleStyles, | |
| CustomizeProfileCard, | |
| Label, | |
| } from '../../../utils/CustomizeProfileStyles'; | |
| const Work = ({ workRef, educationRef, profileData }) => { | |
| return ( | |
| <CustomizeProfileCard> | |
| <Text {...titleStyles}>Work</Text> | |
| <VStack spacing={3}> | |
| <Box w='100%'> | |
| <Label mb='.3rem'>Work</Label> | |
| <Input | |
| defaultValue={profileData?.work} | |
| placeholder='What do you do?' | |
| type='text' | |
| ref={workRef} | |
| /> | |
| </Box> | |
| <Box w='100%'> | |
| <Label mb='.3rem'>Education</Label> | |
| <Input | |
| defaultValue={profileData?.education} | |
| placeholder='What did you go to school?' | |
| type='text' | |
| ref={educationRef} | |
| /> | |
| </Box> | |
| </VStack> | |
| </CustomizeProfileCard> | |
| ); | |
| }; | |
| export default Work; | |