import { View, Button } from '@tarojs/components'
import './index.css'

interface UploadButtonProps {
  onUpload: () => void
}

const UploadButton: React.FC<UploadButtonProps> = ({ onUpload }) => {
  return (
    <View className='button-container'>
      <Button className='create-button' onClick={onUpload}>
        一键制作
      </Button>
    </View>
  )
}

export default UploadButton