title | string Required | The text that will be displayed inside the button |
onComplete | () => void Required | Callback function that will be invoked when the button has reached the final state |
height | number | The height of the container. Default 70 |
width | number | The width of the container. Default 90% of the screen width |
borderRadius | number | The border radius of the container and button (default: height / 2) |
completeThresholdPercentage | number | Determinates when onComplete should be invoked (defualt: 70) |
onSwipeStart | () => void | Callback that will be invoked when the user starts swiping |
onSwipeEnd | () => void | Callback that will be invoked when the user ends swiping |
containerStyle | StyleProp | Styling for the container |
underlayStyle | StyleProp | Styling for the underlay container |
titleContainerProps | ViewProps | Additonal Props for the title container |
titleContainerStyle | StyleProp | Styling for the title container |
titleProps | TextProps | Additonal Props for the title text |
titleStyle | StyleProp | Styling for the title text |