@@ -66,45 +66,52 @@ export type IActionsheetComponentType<
6666 SectionHeaderTextProps ,
6767 IconProps
6868> = React . ForwardRefExoticComponent <
69- ActionsheetProps & React . RefAttributes < ActionsheetProps > & IActionsheetProps
69+ React . RefAttributes < ActionsheetProps > &
70+ React . PropsWithoutRef < ActionsheetProps & IActionsheetProps >
7071> & {
7172 Content : React . ForwardRefExoticComponent <
72- ContentProps &
73- React . RefAttributes < ContentProps > &
74- InterfaceActionsheetContentProps
73+ React . PropsWithoutRef < ContentProps & InterfaceActionsheetContentProps > &
74+ React . RefAttributes < ContentProps >
7575 > ;
7676 Item : React . ForwardRefExoticComponent <
77- ItemProps & InterfaceActionsheetItemProps & React . RefAttributes < ItemProps >
77+ React . PropsWithoutRef < ItemProps & InterfaceActionsheetItemProps > &
78+ React . RefAttributes < ItemProps >
7879 > ;
7980 ItemText : React . ForwardRefExoticComponent <
80- React . RefAttributes < ItemTextProps > & ItemTextProps
81+ React . RefAttributes < ItemTextProps > & React . PropsWithoutRef < ItemTextProps >
8182 > ;
8283 DragIndicator : React . ForwardRefExoticComponent <
83- React . RefAttributes < DragIndicatorProps > & DragIndicatorProps
84+ React . RefAttributes < DragIndicatorProps > &
85+ React . PropsWithoutRef < DragIndicatorProps >
8486 > ;
8587 Backdrop : React . ForwardRefExoticComponent <
86- React . RefAttributes < BackdropProps > & BackdropProps
88+ React . RefAttributes < BackdropProps > & React . PropsWithoutRef < BackdropProps >
8789 > ;
8890 DragIndicatorWrapper : React . ForwardRefExoticComponent <
89- React . RefAttributes < IndicatorWrapperProps > & IndicatorWrapperProps
91+ React . RefAttributes < IndicatorWrapperProps > &
92+ React . PropsWithoutRef < IndicatorWrapperProps >
9093 > ;
9194 ScrollView : React . ForwardRefExoticComponent <
92- React . RefAttributes < ScrollViewProps > & ScrollViewProps
95+ React . RefAttributes < ScrollViewProps > &
96+ React . PropsWithoutRef < ScrollViewProps >
9397 > ;
9498 VirtualizedList : React . ForwardRefExoticComponent <
95- React . RefAttributes < VirtualizedListProps > & VirtualizedListProps
99+ React . RefAttributes < VirtualizedListProps > &
100+ React . PropsWithoutRef < VirtualizedListProps >
96101 > ;
97102 FlatList : React . ForwardRefExoticComponent <
98- React . RefAttributes < FlatListProps > & FlatListProps
103+ React . RefAttributes < FlatListProps > & React . PropsWithoutRef < FlatListProps >
99104 > ;
100105 SectionList : React . ForwardRefExoticComponent <
101- React . RefAttributes < SectionListProps > & SectionListProps
106+ React . RefAttributes < SectionListProps > &
107+ React . PropsWithoutRef < SectionListProps >
102108 > ;
103109 SectionHeaderText : React . ForwardRefExoticComponent <
104- React . RefAttributes < SectionHeaderTextProps > & SectionHeaderTextProps
110+ React . RefAttributes < SectionHeaderTextProps > &
111+ React . PropsWithoutRef < SectionHeaderTextProps >
105112 > ;
106113 Icon : React . ForwardRefExoticComponent <
107- React . RefAttributes < IconProps > & IconProps
114+ React . RefAttributes < IconProps > & React . PropsWithoutRef < IconProps >
108115 > ;
109116} ;
110117
0 commit comments