manifold/web/components/info-tooltip.tsx
2022-08-11 17:47:06 -07:00

12 lines
306 B
TypeScript

import { InformationCircleIcon } from '@heroicons/react/outline'
import { Tooltip } from './tooltip'
export function InfoTooltip(props: { text: string }) {
const { text } = props
return (
<Tooltip text={text}>
<InformationCircleIcon className="h-5 w-5 text-gray-500" />
</Tooltip>
)
}