diff options
author | Anike Arni <anikarni@gmail.com> | 2017-02-08 17:45:34 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-08 17:45:34 -0200 |
commit | 0d4cf4ad3a5da62f65730d6c3e3665fc12d72590 (patch) | |
tree | e852ab83caeca6158ffc78e3cda100157ddb9f88 /web-ui/src/common/submit_button/submit_button.js | |
parent | a1c384cebd80e177389ef79c2de6400db986aaa6 (diff) | |
parent | ea852b12e33b0e50ba7986c33ad68be5e38305ba (diff) |
Merge pull request #965 from pixelated/backup-email-page
Adds lint, coverage and css autoprefixer
Diffstat (limited to 'web-ui/src/common/submit_button/submit_button.js')
-rw-r--r-- | web-ui/src/common/submit_button/submit_button.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/web-ui/src/common/submit_button/submit_button.js b/web-ui/src/common/submit_button/submit_button.js index 89cfc55b..fb87bf7d 100644 --- a/web-ui/src/common/submit_button/submit_button.js +++ b/web-ui/src/common/submit_button/submit_button.js @@ -15,12 +15,16 @@ * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -import React from 'react' +import React from 'react'; -import './submit-button.scss' +import './submit-button.scss'; const SubmitButton = ({ buttonText }) => ( <input type='submit' className='submit-button' value={buttonText} /> -) +); -export default SubmitButton +SubmitButton.propTypes = { + buttonText: React.PropTypes.string.isRequired +}; + +export default SubmitButton; |