mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-05 10:30:38 -06:00
line clipping?
This commit is contained in:
@@ -32,7 +32,12 @@ interface TextProps {
|
||||
|
||||
export function Text(props: TextProps): React.JSX.Element {
|
||||
return (
|
||||
<Paragraph width={props.width} fontWeight={props.bold ? 800 : 600} fontSize="$4">
|
||||
<Paragraph
|
||||
width={props.width}
|
||||
fontWeight={props.bold ? 800 : 600}
|
||||
fontSize="$4"
|
||||
lineBreakMode="clip"
|
||||
>
|
||||
{ props.children }
|
||||
</Paragraph>
|
||||
)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect } from "react";
|
||||
import { H5, ScrollView, Text, View } from "tamagui";
|
||||
import { H5, ScrollView, View } from "tamagui";
|
||||
import { useHomeContext } from "../provider";
|
||||
import { H2 } from "../../Global/text";
|
||||
import { H2, Text } from "../../Global/text";
|
||||
import { Card } from "../../Global/card";
|
||||
import { play } from "react-native-track-player/lib/src/trackPlayer";
|
||||
import { mapDtoToTrack } from "../../../helpers/mappings";
|
||||
|
||||
Reference in New Issue
Block a user