Skip to content

Commit cddfe68

Browse files
committed
adding deprecated flag to OptionsSelector
1 parent a3f40b6 commit cddfe68

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/components/OptionsSelector/index.android.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import React, {forwardRef} from 'react';
22
import BaseOptionsSelector from './BaseOptionsSelector';
33

4+
/**
5+
* @deprecated Please use `SelectionList` instead.
6+
*/
47
const OptionsSelector = forwardRef((props, ref) => (
58
<BaseOptionsSelector
69
// eslint-disable-next-line react/jsx-props-no-spreading

src/components/OptionsSelector/index.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import React, {forwardRef} from 'react';
22
import BaseOptionsSelector from './BaseOptionsSelector';
33

4+
/**
5+
* @deprecated Please use `SelectionList` instead.
6+
*/
47
const OptionsSelector = forwardRef((props, ref) => (
58
<BaseOptionsSelector
69
// eslint-disable-next-line react/jsx-props-no-spreading

0 commit comments

Comments
 (0)