Update application code and dependencies
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
'use client'
|
||||
|
||||
export default function TestButton() {
|
||||
const handleClick = () => {
|
||||
alert('hello')
|
||||
}
|
||||
|
||||
return (
|
||||
<button
|
||||
onClick={handleClick}
|
||||
className="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition-colors"
|
||||
>
|
||||
测试按钮
|
||||
</button>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user