solana-app-kit


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

Function: default()

default(__namedParameters): Element

Defined in: src/components/thread/sections/SectionTextVideo.tsx:41

A component that renders text content with a video in a post section

Parameters

__namedParameters

SectionTextVideoProps

Returns

Element

Component

Description

SectionTextVideo displays a combination of text and video content in a post. The text appears above the video, and the video is displayed in a placeholder container with consistent styling. Currently, this component shows a placeholder for the video player, which can be replaced with an actual video player implementation.

Features:

  • Text and video combination
  • Optional text content
  • Placeholder video container
  • Consistent styling
  • Rounded corners for video container

Example

<SectionTextVideo
  text="Check out this amazing video!"
  videoUrl="https://example.com/video.mp4"
/>