Skip to content

Commit

Permalink
[Chore] export single color palette selector (#2262)
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Co-authored-by: Shan He <heshan0131@gmail.com>
  • Loading branch information
igorDykhta and heshan0131 committed Jun 15, 2023
1 parent d362fc2 commit 043db65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/src/index.ts
Expand Up @@ -285,6 +285,7 @@ export type {FilterManagerProps} from './side-panel/filter-manager';
export type {PanelMeta} from './side-panel/common/types';
export type {SideBarProps} from './side-panel/side-bar';
export type {FeatureActionPanelProps} from './editor/feature-action-panel';
export type {SingleColorPaletteProps} from './side-panel/layer-panel/single-color-palette';

export {
Icons,
Expand Down
Expand Up @@ -26,7 +26,7 @@ import {hexToRgb} from '@kepler.gl/utils';
import {ColorsByTheme, Themes, ColorRange} from '@kepler.gl/constants';
import {RGBColor} from '@kepler.gl/types';

type SingleColorPaletteProps = {
export type SingleColorPaletteProps = {
onSelectColor: (color: RGBColor | ColorRange, e: MouseEvent) => void;
// hex value
selectedColor: string;
Expand Down

0 comments on commit 043db65

Please sign in to comment.