add ipa reader

This commit is contained in:
2025-09-30 17:00:16 +08:00
parent e846616832
commit 766694c1a3
9 changed files with 307 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
export default function Button({ label, onClick }: { label: string, onClick?: () => void }) {
export default function Button({ label, onClick, className }: { label: string, onClick?: () => void, className?: string }) {
return (
<button onClick={onClick} className="px-2 py-1 rounded bg-white shadow-2xs font-bold hover:bg-gray-300">
<button onClick={onClick} className={`px-2 py-1 rounded bg-white shadow-2xs font-bold hover:bg-gray-300 ${className || ''}`}>
{label}
</button>
);