﻿interface SqlObjectPropertiesProps {
  object?: any
}

const SqlObjectProperties = ({ object }: SqlObjectPropertiesProps) => {
  if (!object) {
    return (
      <div className="flex items-center justify-center h-full text-gray-400 text-sm">
        Select an object to view properties
      </div>
    )
  }

  return (
    <div className="p-4 text-sm">
      <pre className="text-xs text-gray-600 dark:text-gray-400 overflow-auto">
        {JSON.stringify(object, null, 2)}
      </pre>
    </div>
  )
}

export default SqlObjectProperties
