mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
358 B
TypeScript
17 lines
358 B
TypeScript
import React from 'react'
|
|
|
|
export default function StartButton({
|
|
onClick,
|
|
}: {
|
|
onClick: React.MouseEventHandler<HTMLButtonElement>
|
|
}): React.ReactElement {
|
|
return (
|
|
<button
|
|
onClick={onClick}
|
|
className="px-4 py-2 bg-green-500 text-white rounded-md hover:bg-green-600 transition-colors duration-200"
|
|
>
|
|
Start
|
|
</button>
|
|
)
|
|
}
|