NewVersionBtn.jsx 675B

1234567891011121314151617181920212223242526272829
  1. import React from 'react'
  2. import Radium from 'radium'
  3. const NewVersionBtn = props => {
  4. return (
  5. <button
  6. className='wsContentGeneric__option__menu__addversion newversionbtn btn'
  7. onClick={props.onClickNewVersionBtn}
  8. disabled={props.disabled}
  9. style={{
  10. backgroundColor: '#fdfdfd',
  11. color: '#333',
  12. borderWidth: '1px',
  13. borderStyle: 'solid',
  14. borderColor: props.customColor,
  15. ':hover': {
  16. backgroundColor: props.customColor,
  17. color: '#fdfdfd'
  18. }
  19. }}
  20. >
  21. Modifier
  22. <i className='fa fa-plus-circle ml-3' />
  23. </button>
  24. )
  25. }
  26. export default Radium(NewVersionBtn)