Component
Add: - Divider Collaboration Fix: - index Add: - list pf participants # No Issue
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user