mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
10 lines
235 B
TypeScript
10 lines
235 B
TypeScript
import React from 'react'
|
|
|
|
export default function Button({ children, onClick }: { children: React.ReactNode; onClick: () => void }) {
|
|
return (
|
|
<button className="p-button" onClick={onClick}>
|
|
{children}
|
|
</button>
|
|
)
|
|
}
|