UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

18 lines (17 loc) 649 B
import React from 'react'; import { HexColor, RGBColor } from '@kepler.gl/types'; import { BaseComponentProps } from '../../types'; declare type ColorPaletteProps = BaseComponentProps & { colors: RGBColor | HexColor[]; colorWidths?: number[] | null; height?: number; isSelected?: boolean; isReversed?: boolean; className?: string; }; export declare type PaletteContainerProps = BaseComponentProps & { isColorChart?: boolean; isSelected?: boolean; }; declare const ColorPalette: ({ colors, height, colorWidths, className, isSelected, isReversed }: ColorPaletteProps) => React.JSX.Element; export default ColorPalette;