-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Labels
Description
Hey there, thanks for the lib!
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;
type ButtonProps = {
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 */
declare class Button<P = {}, S = {}> extends Component<ButtonProps, S> {
constructor(props: object);
}