You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed there were no typings for this lib. I am new to Typescript so i can't really create them myself. I have started but I am not sure how to import the proptypes and extend from TouchableOpacity
If anyone can help that would be great
import{Component}from"react";export=Button;typeButtonProps={allowFontScaling?: boolean;accessibilityLabel?: string;containerStyle?: object;disabledContainerStyle?: object;disabled?: boolean;style?: object;styleDisabled?: object;childGroupStyle?: object;}/*~ Write your module's methods and properties in this class */declareclassButton<P={},S={}>extendsComponent<ButtonProps,S>{constructor(props: object);}
Activity
jsina commentedon Jul 3, 2019
for temporary resolving you could follow this rules:
declare module 'react-native-button';shubhamkakkar commentedon Jul 15, 2019
Hey, I am planning to add a PR for the typescript support.
Any prort information is appreaciated.
besides this I am also working on issue #82
working application corresponding to issue ide#82 and ide#79
neekers commentedon Mar 25, 2020
Any update on this?