Skip to content

Commit

Permalink
fix ColorMapType declaration to remove values type
Browse files Browse the repository at this point in the history
  • Loading branch information
lstillwe committed Oct 11, 2024
1 parent ff6f220 commit 59e243b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@renci/apsviz-geostyler",
"version": "15.0.19",
"version": "15.0.20",
"description": "Framework for styling geodata",
"main": "dist/index.js",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ import {
Tooltip
} from '@mui/joy';

import { ColorMapType } from 'geostyler-style';
//import { ColorMapType } from 'geostyler-style';
// import { RadioChangeEvent } from 'antd/lib/radio';

import _get from 'lodash/get';
//import { useGeoStylerLocale } from '../../../../context/GeoStylerContext/GeoStylerContext';
type ColorMapType = 'ramp' | 'intervals';

export interface ColorMapTypeFieldProps {
colorMapTypeOptions?: ColorMapType[];
Expand All @@ -62,7 +63,7 @@ export const ColorMapTypeField: React.FC<ColorMapTypeFieldProps> = ({
// add a tooltip for each colorMapTypeOption
const colorMapTypeToolTips = {
"ramp": "colors interpolated between intervals",
"intervals": "no color interpolation between intervals",
"intervals": "no color interpolation between intervals"
};

// const locale = useGeoStylerLocale('ColorMapTypeField');
Expand Down

0 comments on commit 59e243b

Please sign in to comment.