NTP-6320 | unification in bottom sheet (#13284)
This commit is contained in:
@@ -59,6 +59,14 @@ const TopSectionExpandableBottomSheet = ({
|
||||
};
|
||||
});
|
||||
|
||||
const subtitle = {
|
||||
...bottomSheetData.subtitle,
|
||||
textStyle: {
|
||||
...bottomSheetData.subtitle?.textStyle,
|
||||
textAlign: "left",
|
||||
},
|
||||
} as TextFieldData;
|
||||
|
||||
const Header = () => {
|
||||
return (
|
||||
<Animated.View style={[styles.title, headerStyle]}>
|
||||
@@ -91,7 +99,7 @@ const TopSectionExpandableBottomSheet = ({
|
||||
orientation={bottomSheetData?.gradientOrientation}
|
||||
>
|
||||
{bottomSheetData?.subtitle?.text && (
|
||||
<StyledText textFieldData={bottomSheetData.subtitle} />
|
||||
<StyledText textFieldData={subtitle} />
|
||||
)}
|
||||
{bottomSheetData?.headerDescriptionText && (
|
||||
<View style={styles.videoContainer}>
|
||||
|
||||
Reference in New Issue
Block a user