mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
12 lines
182 B
TypeScript
12 lines
182 B
TypeScript
'use client'
|
|
|
|
import { myAction } from './actions'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<button onClick={() => myAction()}>Click me</button>
|
|
</div>
|
|
)
|
|
}
|