addressed comments

This commit is contained in:
Jori Lallo
2017-10-31 21:55:46 -07:00
parent 148cf8ad33
commit 980ad792c5
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ import styled from 'styled-components';
import Flex from 'shared/components/Flex';
import { LabelText, Outline } from 'components/Input';
import { color, fonts, fontWeight } from 'shared/styles/constants';
import { validateColorHex } from '../../../shared/utils/color';
import { validateColorHex } from 'shared/utils/color';
const colors = [
'#4E5C6E',
@@ -21,7 +21,7 @@ const colors = [
];
type Props = {
onSelect: string => void,
onSelect: (color: string) => void,
value?: string,
};
@@ -119,7 +119,7 @@ type Props = {
}
type SwatchProps = {
onClick?: Function,
onClick?: () => void,
color?: string,
active?: boolean,
};