phx-react
Version:
PHX REACT
22 lines (21 loc) • 642 B
TypeScript
/**
* 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';
type Props = {
disabled?: boolean;
buttonAriaLabel?: string;
buttonClassName: string;
buttonIconClassName?: string;
buttonLabel?: string;
title?: string;
stopCloseOnClickSelf?: boolean;
color: string;
onChange?(color: string): void;
};
export default function DropdownColorPicker({ color, disabled, onChange, stopCloseOnClickSelf, ...rest }: Props): React.JSX.Element;
export {};