feat(editor): ✨ Payment input
This commit is contained in:
17
apps/builder/components/shared/MoreInfoTooltip.tsx
Normal file
17
apps/builder/components/shared/MoreInfoTooltip.tsx
Normal file
@ -0,0 +1,17 @@
|
||||
import { Tooltip, chakra } from '@chakra-ui/react'
|
||||
import { HelpCircleIcon } from 'assets/icons'
|
||||
import React from 'react'
|
||||
|
||||
type Props = {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export const MoreInfoTooltip = ({ children }: Props) => {
|
||||
return (
|
||||
<Tooltip label={children}>
|
||||
<chakra.span cursor="pointer">
|
||||
<HelpCircleIcon />
|
||||
</chakra.span>
|
||||
</Tooltip>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user