UNPKG

@wordpress/components

Version:
30 lines (28 loc) 727 B
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _colorCell = _interopRequireDefault(require("../mobile/bottom-sheet/color-cell")); var _jsxRuntime = require("react/jsx-runtime"); /** * Internal dependencies */ function ColorControl({ label, onPress, color, withColorIndicator, ...props }) { return /*#__PURE__*/(0, _jsxRuntime.jsx)(_colorCell.default, { label: label, onPress: onPress, color: color, withColorIndicator: withColorIndicator, ...props }); } var _default = exports.default = ColorControl; //# sourceMappingURL=index.native.js.map