"use strict";
/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = DropdownColorPicker;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const ColorPicker_1 = tslib_1.__importDefault(require("./ColorPicker"));
const DropDown_1 = tslib_1.__importDefault(require("./DropDown"));
function DropdownColorPicker({ color, disabled = false, onChange, stopCloseOnClickSelf = true, ...rest }) {
    return (React.createElement(DropDown_1.default, { ...rest, disabled: disabled, stopCloseOnClickSelf: stopCloseOnClickSelf },
        React.createElement(ColorPicker_1.default, { color: color, onChange: onChange })));
}
//# sourceMappingURL=DropdownColorPicker.js.map