import { Button, Menu, MenuButton, MenuList } from '@chakra-ui/react'; import { Markdown } from '~/components'; import { useColorValue, useBreakpointValue } from '~/context'; import { useOpposingColor } from '~/hooks'; import type { TFooterButton } from './types'; export const FooterButton: React.FC = (props: TFooterButton) => { const { content, title, side, ...rest } = props; const placement = side === 'left' ? 'top' : side === 'right' ? 'top-end' : undefined; const bg = useColorValue('white', 'gray.900'); const color = useOpposingColor(bg); const size = useBreakpointValue({ base: 'xs', lg: 'sm' }); return ( {title} ); };