Files
musicland/src/screens/Writing/SpecificityContext.js
T
2026-02-23 14:37:25 +01:00

48 lines
1.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { StyleSheet, Text, View } from 'react-native'
import React from 'react'
import { Palette } from '../../styles'
import { FONT_FAMILY } from '../../styles/Fonts'
import CreateLyricsHeader from './components/CreateLyricsHeader'
import CustomInput from './components/CustomInput'
const SpecificityContext = ({ context, setContext }) => {
return (
<View style={{ flex: 1, gap: 10, marginTop: 16 }}>
<CreateLyricsHeader
title="Spécificité du contexte"
subTitle="Dis-nous en un peu plus pour quon puisse mieux taider."
/>
<View style={styles.exampleCard}>
<Text style={styles.exampleText}>
Par ex. : précise des noms, des anecdotes, ton humeur...
</Text>
</View>
<CustomInput
placeholder="Décris le contexte de ta chanson"
height={283}
value={context}
setValue={setContext}
/>
</View>
)
}
export default SpecificityContext
const styles = StyleSheet.create({
exampleCard: {
backgroundColor: Palette.white,
borderRadius: 12,
paddingHorizontal: 12,
paddingVertical: 10,
borderWidth: 1,
borderColor: 'rgba(0,0,0,0.06)',
},
exampleText: {
fontSize: 14,
lineHeight: 20,
color: Palette.black,
fontFamily: FONT_FAMILY.InterRegular,
},
})