Skip to content

Commit bd9e186

Browse files
committed
use LogService for warning on deprecations
1 parent 34ddb06 commit bd9e186

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/incubator/TabController/TabBar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import View from '../../components/view';
1414
import Text from '../../components/text';
1515
import {Colors, Spacings} from '../../style';
1616
import {Constants} from '../../helpers';
17+
import {LogService} from '../../services';
1718

1819
const DEFAULT_HEIGHT = 48;
1920
const {Code, Clock, Value, add, sub, cond, eq, stopClock, startClock, clockRunning, timing, block, set} = Reanimated;
@@ -90,7 +91,7 @@ class TabBar extends PureComponent {
9091
super(props, context);
9192

9293
if (this.props.children) {
93-
console.warn('uilib: Please pass the "items" prop to TabController.TabBar instead of children');
94+
LogService.warn('uilib: Please pass the "items" prop to TabController.TabBar instead of children');
9495
}
9596

9697
const itemsCount = this.itemsCount;

0 commit comments

Comments
 (0)