Skip to content

Commit

Permalink
refactor: Rewrites ColorSchemeControl with Typescript (#21496)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina authored Sep 22, 2022
1 parent fb835d1 commit bbac67a
Show file tree
Hide file tree
Showing 4 changed files with 191 additions and 229 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
import React from 'react';
import { render, screen, waitFor } from 'spec/helpers/testing-library';
import ColorSchemeControl from '.';
import ColorSchemeControl, { ColorSchemes } from '.';

const defaultProps = {
hasCustomLabelColors: false,
Expand All @@ -28,7 +28,7 @@ const defaultProps = {
value: 'supersetDefault',
clearable: true,
choices: [],
schemes: () => null,
schemes: () => ({} as ColorSchemes),
isLinear: false,
};

Expand Down

This file was deleted.

Loading

0 comments on commit bbac67a

Please sign in to comment.