import React from 'react';
import { TextArea, VStack, Box } from 'native-base';

export const Example = () => {
  return (
    <VStack justifyContent="center" w="80%">
      <Box position="absolute" w="100%">
        <Box
          position="relative"
          _light={{
            bg: 'gray.600',
          }}
          _dark={{
            bg: 'gray.100',
          }}
          h="8px"
          rounded="25"
          w={{ base: '60%', lg: '40%' }}
          mx={5}
          mb={2}
        />
        <Box
          position="relative"
          _light={{
            bg: 'gray.600',
          }}
          _dark={{
            bg: 'gray.100',
          }}
          h="8px"
          rounded="25"
          w={{ base: '40%', lg: '30%' }}
          mx={5}
        />
      </Box>
      <TextArea
        aria-label="textArea-demo"
        mt={4}
        w="100%"
        h={20}
        zIndex={-1}
        borderWidth={0}
        _light={{
          bg: 'teal.500',
        }}
        _dark={{
          bg: 'teal.700',
        }}
      />
    </VStack>
  );
};
