mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-27 09:09:29 +01:00
14 lines
592 B
TypeScript
14 lines
592 B
TypeScript
import React from 'react'
|
|
import BackgroundHeaderFlatList, { BackgroundHeaderFlatListPropsBase } from './BackgroundHeaderFlatList'
|
|
import ImageGradientBackground, { ImageGradientBackgroundProps } from './ImageGradientBackground'
|
|
|
|
export type ImageGradientFlatListProps<ItemT> = BackgroundHeaderFlatListPropsBase<ItemT> & {
|
|
backgroundProps?: ImageGradientBackgroundProps
|
|
}
|
|
|
|
function ImageGradientFlatList<ItemT>(props: ImageGradientFlatListProps<ItemT>) {
|
|
return <BackgroundHeaderFlatList BackgroundComponent={ImageGradientBackground} {...props} />
|
|
}
|
|
|
|
export default ImageGradientFlatList
|