Files
no-copy-frontend/src/app/ui/button-test.tsx
T

13 lines
228 B
TypeScript
Raw Normal View History

2025-11-25 17:13:16 +07:00
'use client'
async function clickHandler() {
2025-12-02 17:11:53 +07:00
console.log('click')
2025-11-25 17:13:16 +07:00
}
2025-11-26 14:01:35 +07:00
export default function ButtonTest() {
2025-11-25 17:13:16 +07:00
return (
2025-11-26 14:01:35 +07:00
<button className='border-2 cursor-pointer' onClick={() => {
2025-11-25 17:13:16 +07:00
clickHandler();
}}>button</button>
);
}