@uiw/react-native
Version:
UIW for React Native
15 lines (14 loc) • 575 B
TypeScript
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>;
children?: React.ReactNode;
};
declare const CardActions: ({ actions, actionsContainerStyle, children }: CardActionsProps) => JSX.Element;
export default CardActions;