"use client" import { Button } from "@/components/ui/button" interface CompanyInfoProps { symbol: string } export function CompanyInfo({ symbol }: CompanyInfoProps) { // Mock company data const companyData = { TSLA: { symbol: "TSLA", marketCap: "$1.4T", ipoDate: "Jun 29, 2010", ceo: "Elon R. Musk", employees: "126K", sector: "Consumer Cyclical", industry: "Auto - Manufacturers", country: "US", exchange: "NASDAQ Global Select", description: "Tesla, Inc. is a leading global manufacturer of electric vehicles and clean energy products, headquartered in Austin, Texas. The company operates in two main segments: Automotive, which includes the...", readMore: true, }, } const company = companyData[symbol as keyof typeof companyData] || companyData.TSLA return (
Symbol {company.symbol}
Market Cap {company.marketCap}
IPO Date {company.ipoDate}
CEO {company.ceo}
Fulltime Employees {company.employees}
Sector {company.sector}
Industry {company.industry}
Country {company.country}
Exchange {company.exchange}

{company.description}

{company.readMore && ( )}
) }