Add emoji prop to standard site card
This commit is contained in:
@@ -356,6 +356,7 @@ export function PublicationCard({
|
|||||||
/>
|
/>
|
||||||
<View style={[a.flex_1, a.gap_2xs]}>
|
<View style={[a.flex_1, a.gap_2xs]}>
|
||||||
<Text
|
<Text
|
||||||
|
emoji
|
||||||
numberOfLines={1}
|
numberOfLines={1}
|
||||||
style={[
|
style={[
|
||||||
a.text_md,
|
a.text_md,
|
||||||
@@ -386,7 +387,7 @@ export function PublicationCard({
|
|||||||
<View style={[a.pointer_events_none]}>
|
<View style={[a.pointer_events_none]}>
|
||||||
{view.description && (
|
{view.description && (
|
||||||
<View style={[a.pt_sm]}>
|
<View style={[a.pt_sm]}>
|
||||||
<Text style={[a.text_sm, a.leading_snug]} numberOfLines={3}>
|
<Text emoji style={[a.text_sm, a.leading_snug]} numberOfLines={3}>
|
||||||
{view.description}
|
{view.description}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
@@ -617,6 +618,7 @@ export function PublicationFooter({
|
|||||||
/>
|
/>
|
||||||
<View style={[a.flex_1, a.gap_2xs]}>
|
<View style={[a.flex_1, a.gap_2xs]}>
|
||||||
<Text
|
<Text
|
||||||
|
emoji
|
||||||
numberOfLines={1}
|
numberOfLines={1}
|
||||||
style={[
|
style={[
|
||||||
a.text_sm,
|
a.text_sm,
|
||||||
|
|||||||
Reference in New Issue
Block a user