export const handleVariant = (variant: string) => {
  let v: string = ''

  switch (variant) {
    case 'action':
      v =
        'bg-emerald-500 hover:bg-emerald-100 text-white hover:text-emerald-600'
      break
    case 'cancel':
      v = 'bg-gray-100 hover:bg-gray-50 text-gray-400 hover:text-gray-500'
      break
    case 'delete':
      v =
        'bg-transparent hover:bg-red-500 border border-red-500 text-red-500 hover:text-white'
      break
    case 'primary':
      v = 'bg-red-500 text-white'
      break
    case 'secondary':
      v = 'bg-blue-500 text-white'
      break
    default:
      v = 'bg-gray-100 text-gray-600'
  }

  return v
}
