// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React from 'react'; import {View} from 'react-native'; import FormattedText from '@components/formatted_text'; import {useTheme} from '@context/theme'; import {changeOpacity, makeStyleSheetFromTheme} from '@utils/theme'; import {typography} from '@utils/typography'; import SavedPostsIcon from './saved_posts_icon'; const getStyleSheet = makeStyleSheetFromTheme((theme) => ({ container: { flex: 1, alignItems: 'center', justifyContent: 'center', paddingHorizontal: 40, }, title: { color: theme.centerChannelColor, ...typography('Heading', 400), }, paragraph: { marginTop: 8, textAlign: 'center', color: changeOpacity(theme.centerChannelColor, 0.72), ...typography('Body', 200), }, icon: { alignItems: 'center', justifyContent: 'center', }, })); function EmptySavedPosts() { const theme = useTheme(); const styles = getStyleSheet(theme); return ( ); } export default EmptySavedPosts;