import { BlurView } from 'expo-blur' import React from 'react' import { Platform, StyleSheet, Text, View } from 'react-native' import KaraokeLyrics from '../../../components/KaraokeLyrics' import { Palette } from '../../../styles' import { FONT_FAMILY } from '../../../styles/Fonts' const PlaybackLyricsCard = ({ alignedWords, currentTimeS, fallbackTitle }) => { return ( {alignedWords?.length > 0 ? ( ) : ( {fallbackTitle || 'Description chanson'} )} ) } const styles = StyleSheet.create({ container: { paddingHorizontal: 28, }, blur: { paddingHorizontal: 14, paddingVertical: 8, borderRadius: 20, backgroundColor: Palette.glass, overflow: 'hidden', }, title: { fontSize: 12, color: Palette.white, fontFamily: FONT_FAMILY.InterRegular, }, }) export default PlaybackLyricsCard