diff --git a/components/Artist/component.tsx b/components/Artist/component.tsx index a0ddfc39..503d23c7 100644 --- a/components/Artist/component.tsx +++ b/components/Artist/component.tsx @@ -7,6 +7,7 @@ import { FlatList } from "react-native"; import { Card } from "../Global/card"; import { NativeStackNavigationProp } from "@react-navigation/native-stack"; import { StackParamList } from "../types"; +import { H5 } from "../Global/text"; interface ArtistProps { artistId: string, @@ -28,6 +29,7 @@ export default function Artist(props: ArtistProps): React.JSX.Element { > +
Albums
- - - - - + + +
diff --git a/components/Global/text.tsx b/components/Global/text.tsx index 28576ea9..19eb6e53 100644 --- a/components/Global/text.tsx +++ b/components/Global/text.tsx @@ -1,4 +1,12 @@ -import { H1 as TamaguiH1, H2 as TamaguiH2, SizeTokens, Label as TamaguiLabel, H5, Paragraph, TextProps as TamaguiTextProps } from "tamagui" +import { + H1 as TamaguiH1, + H2 as TamaguiH2, + H5 as TamaguiH5, + Label as TamaguiLabel, + SizeTokens, + Paragraph, + TextProps as TamaguiTextProps +} from "tamagui" interface LabelProps { htmlFor: string, @@ -24,6 +32,12 @@ export function H2({ children }: { children: string }): React.JSX.Element { ) } +export function H5({ children }: { children: string }): React.JSX.Element { + return ( + { children } + ) +} + interface TextProps extends TamaguiTextProps { bold?: boolean | undefined children: string;