solana-app-kit


solana-app-kit / components/thread/sections/SectionTextImage / default

Function: default()

default(__namedParameters): Element

Defined in: src/components/thread/sections/SectionTextImage.tsx:40

A component that renders text content with an image in a post section

Parameters

__namedParameters

SectionTextImageProps

Returns

Element

Component

Description

SectionTextImage displays a combination of text and image content in a post. The text appears above the image, and the image is displayed with consistent styling including rounded corners and proper aspect ratio.

Features:

  • Text and image combination
  • Optional text content
  • Responsive image sizing
  • Consistent styling
  • Rounded corners for images

Example

<SectionTextImage
  text="Check out this amazing photo!"
  imageUrl={{ uri: 'https://example.com/image.jpg' }}
/>