'use client'

import * as React from 'react'

interface RPAInfoProps {
  tableName: string
  count: number
}

export function RPAInfo({ tableName, count }: RPAInfoProps) {
  return (
    <div 
      className="text-xs text-gray-500 mt-1"
      data-testid={`rpa-info-${tableName}`}
      data-table-name={tableName}
    >
      <div data-testid={`table-name-${tableName}`}>
        테이블명: {tableName}
      </div>
      <div data-testid={`current-count-${tableName}`}>
        현재 데이터: {count}건
      </div>
      <div data-testid={`file-types-${tableName}`}>
        지원 파일: .xlsx, .xls
      </div>
    </div>
  )
}
