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
397 B
TypeScript
17 lines
397 B
TypeScript
import React from 'react'
|
|
|
|
export default function DownloadButton({
|
|
onClick,
|
|
}: {
|
|
onClick?: React.MouseEventHandler
|
|
}): JSX.Element {
|
|
return (
|
|
<button
|
|
onClick={onClick}
|
|
className="px-4 py-2 bg-green-500 text-white font-semibold rounded-md hover:bg-green-600 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50"
|
|
>
|
|
Download
|
|
</button>
|
|
)
|
|
}
|