import React, { useState } from 'react'; interface LoginPageProps { onLogin: (apiKey: string) => void; isLoading: boolean; error: string; } export function LoginPage({ onLogin, isLoading, error }: LoginPageProps) { const [apiKey, setApiKey] = useState(''); const [showApiKey, setShowApiKey] = useState(false); const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); if (apiKey.trim()) { onLogin(apiKey.trim()); } }; return (
Monitor your API usage and billing across different periods
Enter your API key to view your usage statistics and billing information.