Skip to content

Commit

Permalink
feat: Deprecate SheetBottom component (#7657)
Browse files Browse the repository at this point in the history
Co-authored-by: George Marshall <george.marshall@consensys.net>
  • Loading branch information
tommasini and georgewrmarshall authored Nov 8, 2023
1 parent 2f7314f commit bdcadc0
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ import {
SheetBottomRef,
} from './SheetBottom.types';

/**
* @deprecated The `<SheetBottom>` component has been deprecated in favor of the new `<BottomSheet>` component from the component-library.
* Please update your code to use the new `<BottomSheet>` component instead, which can be found at app/component-library/components/BottomSheets/BottomSheet/BottomSheet.tsx.
* You can find documentation for the new BottomSheet component in the README:
* {@link https://github.com/MetaMask/metamask-mobile/tree/main/app/component-library/components/BottomSheets/BottomSheet/README.md}
* If you would like to help with the replacement of the old `SheetBottom` component, please submit a pull request against this GitHub issue:
* {@link https://github.com/MetaMask/metamask-mobile/issues/7658}
*/
const SheetBottom = forwardRef<SheetBottomRef, SheetBottomProps>(
(
{
Expand Down

0 comments on commit bdcadc0

Please sign in to comment.