Component

Add:
- Divider

Collaboration
Fix:
- index

Add:
- list pf participants

# No Issue
This commit is contained in:
2025-07-23 16:40:04 +08:00
parent 30d61c84aa
commit 64d5a4308c
5 changed files with 79 additions and 48 deletions

View File

@@ -2,17 +2,20 @@ import { ImageSourcePropType, View } from "react-native";
import Grid from "../Grid/GridCustom";
import AvatarCustom from "../Image/AvatarCustom";
import TextCustom from "../Text/TextCustom";
import Divider from "../Divider/Divider"
const AvatarUsernameAndOtherComponent = ({
avatarHref,
avatar,
name,
rightComponent,
withBottomLine = false,
}: {
avatarHref?: string;
avatar?: ImageSourcePropType;
name?: string;
rightComponent?: React.ReactNode;
withBottomLine?: boolean;
}) => {
return (
<>
@@ -38,6 +41,7 @@ const AvatarUsernameAndOtherComponent = ({
</Grid.Col>
)}
</Grid>
{withBottomLine && <Divider marginTop={0} />}
</View>
</>
);