import React from 'react'
import reactCSS from 'reactcss'

export const PhotoshopBotton = (props) => {
  const styles = reactCSS({
    'default': {
      button: {
        backgroundImage: 'linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)',
        border: '1px solid #878787',
        borderRadius: '2px',
        height: '20px',
        boxShadow: '0 1px 0 0 #EAEAEA',
        fontSize: '14px',
        color: '#000',
        lineHeight: '20px',
        textAlign: 'center',
        marginBottom: '10px',
      },
    },
    'active': {
      button: {
        boxShadow: '0 0 0 1px #878787',
      },
    },
  }, props)

  const handleClick = (e) => {
    props.onClick && props.onClick(e)
  }

  return (
    <div style={ styles.button } onClick={ handleClick }>
      { props.label || props.children }
    </div>
  )
}

export default PhotoshopBotton

import React from 'react'
import reactCSS from 'reactcss'

export const PhotoshopBotton = (props) => {
  const styles = reactCSS({
    'default': {
      button: {
        backgroundImage: 'linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)',
        border: '1px solid #878787',
        borderRadius: '2px',
        height: '20px',
        boxShadow: '0 1px 0 0 #EAEAEA',
        fontSize: '14px',
        color: '#000',
        lineHeight: '20px',
        textAlign: 'center',
        marginBottom: '10px',
        cursor: 'pointer',
      },
    },
    'active': {
      button: {
        boxShadow: '0 0 0 1px #878787',
      },
    },
  }, props)

  const handleClick = (e) => {
    props.onClick && props.onClick(e)
  }

  return (
    <div style={ styles.button } onClick={ handleClick }>
      { props.label || props.children }
    </div>
  )
}

export default PhotoshopBotton

Add css cursor to PhotoshopButton (#265)