summaryrefslogtreecommitdiff
path: root/client/src/components/SubmitButton/SubmitButton.jsx
blob: ed796d939fc992dc8c04def678e453c8bb6576ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import React from 'react'
import styles from './SubmitButton.module.css'

const SubmitButton = ({ onClick, onChange, disabled }) => {
  return (
    <>
      <button
        onClick={onClick}
        className={styles.submit}
        type="submit"
        onChange={onChange}
        disabled={disabled}
      >
        <img
          className={styles.submit__image}
          src={`${process.env.PUBLIC_URL}/assets/images/next_icon.svg`}
          alt=""
        />
      </button>
    </>
  )
}

export default SubmitButton