I am using native wind and react native paper with typescript. I would like to add "className" and "tw" attributes to my paper views.
I've already added it on my other views using declares like this:
import "react-native";declare module "react-native" { interface FlatListProps<ItemT> extends VirtualizedListProps<ItemT> { className?: string; tw?: string; }}
and my views have "className" and "tw", but for paper views this does not work:
import "react-native-paper"declare module "react-native-paper" { interface FABProps { className? : string; tw?: string; }}
and my FAB view still does not have "className" or "tw"
How can I fix this?