UNPKG

@uiw/react-native

Version:
16 lines (15 loc) 605 B
import React from 'react'; import { StyleProp, ViewStyle, TextStyle, GestureResponderEvent } from 'react-native'; export declare type CardActionsProps = { actions?: Array<{ text?: string; icon?: JSX.Element; onPress?: (e: GestureResponderEvent, index: number) => void; actionsTextStyle?: StyleProp<TextStyle>; }>; actionsContainerStyle?: StyleProp<ViewStyle>; driver?: boolean; children?: React.ReactNode; }; declare const CardActions: ({ actions, actionsContainerStyle, children, driver }: CardActionsProps) => JSX.Element; export default CardActions;