Skip to content

Commit

Permalink
Merge pull request #37628 from lukemorawski/deprecating_OptionsSelector
Browse files Browse the repository at this point in the history
Adding deprecated flag to OptionsSelector
  • Loading branch information
bondydaa authored Mar 1, 2024
2 parents 3f685f5 + cddfe68 commit 1d0ec1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/OptionsSelector/index.android.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import React, {forwardRef} from 'react';
import BaseOptionsSelector from './BaseOptionsSelector';

/**
* @deprecated Please use `SelectionList` instead.
*/
const OptionsSelector = forwardRef((props, ref) => (
<BaseOptionsSelector
// eslint-disable-next-line react/jsx-props-no-spreading
Expand Down
3 changes: 3 additions & 0 deletions src/components/OptionsSelector/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import React, {forwardRef} from 'react';
import BaseOptionsSelector from './BaseOptionsSelector';

/**
* @deprecated Please use `SelectionList` instead.
*/
const OptionsSelector = forwardRef((props, ref) => (
<BaseOptionsSelector
// eslint-disable-next-line react/jsx-props-no-spreading
Expand Down

0 comments on commit 1d0ec1d

Please sign in to comment.