Migrated to TS all visits components except the biggest two

This commit is contained in:
Alejandro Celaya
2020-09-04 19:33:16 +02:00
parent f2e7a2161d
commit 73b854037d
14 changed files with 85 additions and 173 deletions

View File

@@ -1,4 +1,3 @@
import PropTypes from 'prop-types';
import { rangeOf } from '../utils';
import LocalStorage from './LocalStorage';
@@ -36,9 +35,3 @@ export default class ColorGenerator {
return color;
};
}
/** @deprecated Use ColorGenerator class instead */
export const colorGeneratorType = PropTypes.shape({
getColorForKey: PropTypes.func,
setColorForKey: PropTypes.func,
});