UNPKG

phx-react

Version:

PHX REACT

15 lines 675 B
/** * 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. * */ import * as React from 'react'; import ColorPicker from './ColorPicker'; import DropDown from './DropDown'; export default function DropdownColorPicker({ color, disabled = false, onChange, stopCloseOnClickSelf = true, ...rest }) { return (React.createElement(DropDown, { ...rest, disabled: disabled, stopCloseOnClickSelf: stopCloseOnClickSelf }, React.createElement(ColorPicker, { color: color, onChange: onChange }))); } //# sourceMappingURL=DropdownColorPicker.js.map