Interface MiniCardOptions

Interface defining the props for the MiniCard component.

interface MiniCardOptions {
    initials?: string;
    fontSize?: number;
    customStyle?: StyleProp<ViewStyle>;
    imageSource?: string;
    roundedImage?: boolean;
    imageStyle?: StyleProp<ImageStyle>;
}

Properties

initials?: string

The initials to display if no image is provided.

fontSize?: number

The font size for the initials.

14
customStyle?: StyleProp<ViewStyle>

Custom styles to apply to the card.

imageSource?: string

The source URI of the image to display.

roundedImage?: boolean

Whether the image should have rounded corners.

true
imageStyle?: StyleProp<ImageStyle>

Custom styles to apply to the image.