How to use the react-color/lib/components/common.Alpha function in react-color

To help you get started, we’ve selected a few react-color examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github plotly / react-chart-editor / lib / components / widgets / TieredColorPicker.js View on Github external
),
      _react2.default.createElement(
        "div",
        { className: "color-picker-controls +flex" },
        _react2.default.createElement(
          "div",
          { className: "color-picker-sliders" },
          _react2.default.createElement(
            "div",
            { className: "color-picker-slider" },
            _react2.default.createElement(_common.Hue, props)
          ),
          _react2.default.createElement(
            "div",
            { className: "color-picker-slider" },
            _react2.default.createElement(_common.Alpha, props)
          )
        ),
        _react2.default.createElement(
          "div",
          { className: "color-picker-active" },
          _react2.default.createElement(_common.Checkboard, null),
          _react2.default.createElement("div", { style: activeColor, className: "color-picker-active-swatch" })
        )
      ),
      _react2.default.createElement(
        "div",
        { className: "color-picker-custom-input" },
        _react2.default.createElement(_SketchFields2.default, _extends({}, props, { onChange: onChangeComplete }))
      )
    ),
    _react2.default.createElement(