summaryrefslogtreecommitdiff
path: root/components/InfoTooltip.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-09-25 16:11:31 +0200
committerThomas F. K. Jorna <[email protected]>2021-09-25 16:11:31 +0200
commitee8539a9351374a719c9026f85d85e7b4ea6e8f5 (patch)
treef9220fd304bd3669523df39ddaa0992919ccc4a6 /components/InfoTooltip.tsx
parent075d3831ffae63f128bcaabf9fc5e70ade41ad33 (diff)
chore: move tweaks to separate subfolder
Diffstat (limited to 'components/InfoTooltip.tsx')
-rw-r--r--components/InfoTooltip.tsx17
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>
- )
-}