UNPKG

@uiw/react-native

Version:
18 lines (17 loc) 811 B
import React from 'react'; import { StyleProp, ViewStyle, TouchableOpacityProps } from 'react-native'; export declare type CardProps = { containerStyle?: StyleProp<ViewStyle>; wrapperStyle?: StyleProp<ViewStyle>; borderRadius?: number; selected?: boolean; children?: React.ReactNode; onPress?: TouchableOpacityProps['onPress']; onLongPress?: TouchableOpacityProps['onLongPress']; }; declare const Card: { ({ children, containerStyle, wrapperStyle, borderRadius, selected, onPress, onLongPress, ...attributes }: CardProps): JSX.Element; Title: ({ title, titleStyle, children }: import("./Card.Title").CardTitleProps) => JSX.Element; Actions: ({ actions, actionsContainerStyle, children }: import("./Card.Actions").CardActionsProps) => JSX.Element; }; export default Card;