functions
Function: default()
default(
__namedParameters
):Element
solana-app-kit / components/thread/PostHeader / default
Function: default()
default(
__namedParameters
):Element
Defined in: src/components/thread/PostHeader.tsx:60
A component that displays the header of a post in a thread
Parameters
__namedParameters
PostHeaderProps
Returns
Element
Component
Description
PostHeader shows the user information and metadata for a post, including the user’s avatar, username, handle, verification status, and post timestamp. It also provides menu functionality for post actions like deletion.
Features:
- User avatar display with fallback
- Username and handle display
- Verification badge
- Post timestamp
- Menu actions
- Customizable styling
Example
Was this page helpful?