mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +01:00
minor reorg/cleanup
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import React from 'react'
|
||||
import GradientBackgroundHeaderFlatList, {
|
||||
GradientBackgroundHeaderFlatListPropsBase,
|
||||
} from './GradientBackgroundHeaderFlatList'
|
||||
import GradientImageBackground, { GradientImageBackgroundProps } from './GradientImageBackground'
|
||||
|
||||
export type GradientImageFlatListProps<ItemT> = GradientBackgroundHeaderFlatListPropsBase<ItemT> & {
|
||||
backgroundProps?: GradientImageBackgroundProps
|
||||
}
|
||||
|
||||
function GradientImageFlatList<ItemT>(props: GradientImageFlatListProps<ItemT>) {
|
||||
return <GradientBackgroundHeaderFlatList BackgroundComponent={GradientImageBackground} {...props} />
|
||||
}
|
||||
|
||||
export default GradientImageFlatList
|
||||
Reference in New Issue
Block a user