diff options
Diffstat (limited to 'components/InfoTooltip.tsx')
-rw-r--r-- | components/InfoTooltip.tsx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/components/InfoTooltip.tsx b/components/InfoTooltip.tsx deleted file mode 100644 index 02c2fad..0000000 --- a/components/InfoTooltip.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { InfoOutlineIcon } from '@chakra-ui/icons' -import { Box, Tooltip } from '@chakra-ui/react' -import React from 'react' - -export interface InfoTooltipProps { - infoText?: string | boolean -} -export const InfoTooltip = (props: InfoTooltipProps) => { - const { infoText } = props - return ( - <Box paddingLeft="1"> - <Tooltip label={infoText} placement="top" color="gray.100" bg="gray.800" hasArrow> - <InfoOutlineIcon /> - </Tooltip> - </Box> - ) -} |