mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
build out artist view
clean up mapping methods a bit
This commit is contained in:
@@ -17,12 +17,14 @@ const GradientBackground: React.FC<{
|
||||
<LinearGradient
|
||||
colors={colors || [colorStyles.gradient.high, colorStyles.gradient.low]}
|
||||
locations={locations || [0.01, 0.7]}
|
||||
style={{
|
||||
...style,
|
||||
width: width || '100%',
|
||||
height: height || layout.height,
|
||||
position: position || 'absolute',
|
||||
}}>
|
||||
style={[
|
||||
style,
|
||||
{
|
||||
width: width || '100%',
|
||||
height: height || layout.height,
|
||||
position: position || 'absolute',
|
||||
},
|
||||
]}>
|
||||
{children}
|
||||
</LinearGradient>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user