react-native-raw-bottom-sheet icon indicating copy to clipboard operation
react-native-raw-bottom-sheet copied to clipboard

Update index.d.ts

Open dev-nasrullah opened this issue 3 years ago • 1 comments

No children specified

dev-nasrullah avatar Aug 02 '22 08:08 dev-nasrullah

this should be merged

akanz avatar Oct 02 '22 21:10 akanz

This has not been merged

mureyvenom avatar Nov 08 '22 18:11 mureyvenom

I don't have access to merge, but go for it!

van1985 avatar Dec 22 '22 18:12 van1985

yes this is really needed. please 🙏 merge this.

iMnoorfahad avatar Dec 27 '22 11:12 iMnoorfahad

If this change is blocking anyone, please apply this change using patch-package. Or if you're using Yarn or pnpm, you can use yarn patch or pnpm patch.

psnehanshu avatar Mar 30 '23 16:03 psnehanshu

I've created a package with this update

luicfrr avatar Apr 26 '23 12:04 luicfrr

better use PropsWithChildren

stereodenis avatar Jun 16 '23 13:06 stereodenis

still not working

ERROR:

No overload matches this call.
  Overload 1 of 2, '(props: RBSheetProps | Readonly<RBSheetProps>): RBSheet', gave the following error.
    Type '{ children: Element; ref: MutableRefObject<any>; closeOnDragDown: true; closeOnPressMask: false; customStyles: { wrapper: { backgroundColor: string; }; draggableIcon: { ...; }; }; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<RBSheet> & Readonly<RBSheetProps>'.
      Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<RBSheet> & Readonly<RBSheetProps>'.
  Overload 2 of 2, '(props: RBSheetProps, context: any): RBSheet', gave the following error.
    Type '{ children: Element; ref: MutableRefObject<any>; closeOnDragDown: true; closeOnPressMask: false; customStyles: { wrapper: { backgroundColor: string; }; draggableIcon: { ...; }; }; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<RBSheet> & Readonly<RBSheetProps>'.
      Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<RBSheet> & Readonly<RBSheetProps>'.ts(2769)
      ```

matsyui avatar Feb 10 '24 08:02 matsyui