diff --git a/src/components/colorPicker/index.tsx b/src/components/colorPicker/index.tsx index e81f1f2b6f..454ddd3348 100644 --- a/src/components/colorPicker/index.tsx +++ b/src/components/colorPicker/index.tsx @@ -1,5 +1,5 @@ import React, {PureComponent} from 'react'; -import {StyleSheet, StyleProp, ViewStyle} from 'react-native'; +import {StyleSheet} from 'react-native'; import Assets from '../../assets'; import {Colors} from '../../style'; import View from '../view'; @@ -7,7 +7,6 @@ import Button from '../button'; import ColorPalette from '../colorPalette'; import {SWATCH_MARGIN, SWATCH_SIZE} from '../colorSwatch'; import ColorPickerDialog, {ColorPickerDialogProps} from './ColorPickerDialog'; -import {LogService} from '../../services'; interface Props extends ColorPickerDialogProps { /** @@ -41,7 +40,6 @@ interface Props extends ColorPickerDialogProps { doneButton?: string; input?: string; }; - style?: StyleProp; testID?: string; /** * The ColorPicker's background color @@ -71,14 +69,6 @@ class ColorPicker extends PureComponent { backgroundColor: Colors.$backgroundDefault }; - constructor(props: Props) { - super(props); - - if (props.style) { - LogService.warn(`UILib ColorPicker's 'style' prop is deprecated. You can use the 'backgroundColor' prop instead`); - } - } - state = { show: false };