diff --git a/components/swipe-action/index.tsx b/components/swipe-action/index.tsx index 21dc832a5..15d6aea04 100644 --- a/components/swipe-action/index.tsx +++ b/components/swipe-action/index.tsx @@ -2,7 +2,10 @@ import React from 'react'; import { StyleProp, Text, TextStyle, View } from 'react-native'; import Swipeout, { SwipeoutButtonProperties, SwipeoutProperties } from 'react-native-swipeout'; -export interface SwipeActionProps extends SwipeoutProperties {} +export interface SwipeActionProps extends SwipeoutProperties { + left?: SwipeoutButtonProps[]; + right?: SwipeoutButtonProps[]; +} export interface SwipeoutButtonProps extends SwipeoutButtonProperties { style?: StyleProp & { backgroundColor: string }; }