fln-espranza 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Animated, ImageBackground, View } from "react-native";
|
|
2
|
-
import tw from
|
|
2
|
+
// import tw from '../../../lib/tailwind'
|
|
3
|
+
import tw from "../lib/tailwind"
|
|
3
4
|
import EButtonIcon from "./EButtonIcon";
|
|
4
5
|
import EText from "./EText";
|
|
5
6
|
import React, { useCallback, useRef } from "react";
|
|
@@ -17,7 +18,7 @@ interface IProps {
|
|
|
17
18
|
body: JSX.Element;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
export default function
|
|
21
|
+
export default function EProfileScreenLayout( { profileName, uniqueCode, body, titleText } : IProps) {
|
|
21
22
|
const opacity = useRef(new Animated.Value(0)).current;
|
|
22
23
|
const [headerScrolled, setHeaderScrolled] = React.useState(false);
|
|
23
24
|
const scrollY = useRef(new Animated.Value(0)).current;
|
|
@@ -4,7 +4,7 @@ import { Animated, ImageBackground, View } from "react-native";
|
|
|
4
4
|
import EButtonIcon from "./EButtonIcon";
|
|
5
5
|
import Avatar from "./Avatar";
|
|
6
6
|
import EText from "./EText";
|
|
7
|
-
import tw from "
|
|
7
|
+
import tw from "../lib/tailwind"
|
|
8
8
|
import Constants from "expo-constants";
|
|
9
9
|
|
|
10
10
|
interface IProps {
|
package/index.ts
CHANGED
|
@@ -82,6 +82,7 @@ import EOption from "./components/EOption";
|
|
|
82
82
|
import EQuestionSerialNumberLabel from "./components/EQuestionSerialNumberLabel";
|
|
83
83
|
import EQuestionText from "./components/EQuestionText";
|
|
84
84
|
import EEmptyPlaceholder from "./components/EEmptyPlaceholder";
|
|
85
|
+
import EProfileScreenLayout from "./components/EProfileScreenLayout";
|
|
85
86
|
|
|
86
87
|
export {
|
|
87
88
|
Avatar,
|
|
@@ -124,6 +125,7 @@ export {
|
|
|
124
125
|
EQuestionSerialNumberLabel,
|
|
125
126
|
EQuestionText,
|
|
126
127
|
EEmptyPlaceholder,
|
|
128
|
+
EProfileScreenLayout,
|
|
127
129
|
|
|
128
130
|
// ICONS
|
|
129
131
|
EIconAdd,
|