0

I just started to work with react-native-actions-sheet. And I want to use SheetManager. According to the document I should import sheet file like : import 'src/components/sheets/sheets.ts'

but the thing is when I do that I got

"src/components/sheets/sheets.ts could not be found within the project or in these directories: node_modules " error. And dont know how I should change or import the file.

sheet file

import { registerSheet } from 'react-native-actions-sheet'
import CommentBoxSheet from './CommentBoxSheet'

registerSheet('confirm-sheet', CommentBoxSheet)

export {}

thank you :)

  • 1
    take a look into their oficial [snack example](https://snack.expo.dev/@ammarahmed/github.com-ammarahm-ed-react-native-actions-sheet:expo-example). Maybe this will help you – NoNam4 May 03 '23 at 11:03
  • thanks for your answer. I solve the problem with that but not sure what was the problem and solved it :) But again thank you – the Great A May 03 '23 at 11:38

0 Answers0