mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-27 09:09:29 +01:00
16 lines
635 B
TypeScript
16 lines
635 B
TypeScript
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
|