Files
notesnook/apps/mobile/app/components/delay-layout/settings-placeholder.tsx
2022-08-31 07:26:27 +05:00

147 lines
3.6 KiB
TypeScript

/*
This file is part of the Notesnook project (https://notesnook.com/)
Copyright (C) 2022 Streetwriters (Private) Limited
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import React from "react";
import { View } from "react-native";
import { useThemeStore } from "../../stores/use-theme-store";
export const SettingsPlaceholder = () => {
const colors = useThemeStore((state) => state.colors);
return (
<View>
<View
style={{
width: 100,
height: 12,
backgroundColor: colors.shade,
borderRadius: 5,
marginLeft: 12,
marginBottom: 12
}}
/>
<View
style={{
width: "100%",
height: 60,
borderRadius: 10,
marginBottom: 20,
flexDirection: "row",
alignItems: "center",
paddingHorizontal: 16
}}
>
<View
style={{
width: 40,
height: 40,
backgroundColor: colors.transGray,
borderRadius: 100,
marginRight: 20
}}
/>
<View>
<View
style={{
width: 150,
height: 12,
backgroundColor: colors.nav,
borderRadius: 5,
marginBottom: 10
}}
/>
<View
style={{
width: 250,
height: 16,
backgroundColor: colors.nav,
borderRadius: 5
}}
/>
</View>
</View>
<View
style={{
width: "100%",
height: 60,
borderRadius: 10,
marginBottom: 20,
flexDirection: "row",
alignItems: "center",
paddingHorizontal: 16,
justifyContent: "space-between"
}}
>
<View
style={{
width: 40,
height: 40,
backgroundColor: colors.shade,
borderRadius: 100,
marginRight: 20
}}
/>
<View>
<View
style={{
width: 150,
height: 12,
backgroundColor: colors.nav,
borderRadius: 5,
marginBottom: 10
}}
/>
<View
style={{
width: 250,
height: 16,
backgroundColor: colors.nav,
borderRadius: 5
}}
/>
</View>
<View
style={{
width: 40,
height: 20,
backgroundColor: colors.nav,
borderRadius: 100,
marginLeft: 15,
alignItems: "flex-end",
justifyContent: "center",
paddingHorizontal: 4
}}
>
<View
style={{
width: 15,
height: 15,
backgroundColor: colors.shade,
borderRadius: 100,
marginLeft: 15
}}
/>
</View>
</View>
</View>
);
};