File size: 1,065 Bytes
f5071ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;