// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. /* eslint-disable max-lines */ import React from 'react'; import {StyleSheet} from 'react-native'; import Svg, { Path, ClipPath, Rect, G, Defs, LinearGradient, Stop, } from 'react-native-svg'; import {makeStyleSheetFromTheme} from '@utils/theme'; type Props = { theme: Theme; } const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({ backgroundGraphic: { backgroundColor: theme.centerChannelColor, ...StyleSheet.absoluteFillObject, }, })); const Background = ({ theme, }: Props) => { const styles = getStyleSheet(theme); return ( ); }; export default Background;