import { Colors } from '@blueprintjs/colors'
import { Cross, Tick } from '@blueprintjs/icons'
import type { FC } from 'react'

interface TickOrCrossProps {
  value: boolean
}

const TickOrCross: FC<TickOrCrossProps> = ({ value }) =>
  value ? <Tick color={Colors.GREEN3} /> : <Cross color={Colors.RED3} />

export default TickOrCross
