manifold/web/components/info-tooltip.tsx

11 lines
286 B
TypeScript
Raw Permalink Normal View History

2022-01-16 07:14:21 +00:00
import { InformationCircleIcon } from '@heroicons/react/outline'
export function InfoTooltip(props: { text: string }) {
const { text } = props
return (
<div className="tooltip" data-tip={text}>
<InformationCircleIcon className="h-5 w-5 text-gray-500" />
</div>
)
}