koylu-vampir-design 1.0.43 → 1.0.44
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.
|
@@ -3,6 +3,7 @@ import { ImageSourcePropType, StyleProp } from "react-native";
|
|
|
3
3
|
export declare type ScreenBaseProps = {
|
|
4
4
|
style?: StyleProp<any>;
|
|
5
5
|
contentStyle?: StyleProp<any>;
|
|
6
|
+
headerStyle?: StyleProp<any>;
|
|
6
7
|
icon?: ImageSourcePropType;
|
|
7
8
|
title?: string;
|
|
8
9
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenBase.d.ts","sourceRoot":"","sources":["../../src/Screens/ScreenBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,mBAAmB,EAEnB,SAAS,EAGV,MAAM,cAAc,CAAC;AAOtB,oBAAY,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IACvB,YAAY,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IAC9B,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,CAAC,GAAG,KAAA,KAAK,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,GAAG,KAAA,KAAK,IAAI,CAAC;IACzB,WAAW,CAAC,EAAE,CAAC,GAAG,KAAA,KAAK,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,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C5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE,GAAG,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;CAC3E,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA2GhD,CAAC"}
|
|
@@ -11,7 +11,7 @@ const Themes_1 = require("../Themes");
|
|
|
11
11
|
const Utils_1 = require("../Utils");
|
|
12
12
|
const ScreenFooter_1 = require("./ScreenFooter");
|
|
13
13
|
const ScreenHeader_1 = require("./ScreenHeader");
|
|
14
|
-
const ScreenBase = ({ children, style, contentStyle = {}, icon, title, onBack, background, scrollable, transparent, onAccept, noPaddings, renderHeader, acceptText, onLeftPress, leftButtonIcon, leftButtonColor, leftButtonIconColor, leftButtonLabel, leftButtonFont, }) => {
|
|
14
|
+
const ScreenBase = ({ children, style, contentStyle = {}, icon, title, onBack, background, scrollable, transparent, onAccept, noPaddings, renderHeader, headerStyle, acceptText, onLeftPress, leftButtonIcon, leftButtonColor, leftButtonIconColor, leftButtonLabel, leftButtonFont, }) => {
|
|
15
15
|
const { dimBackgroundColorTransparent } = Themes_1.useColors();
|
|
16
16
|
const insets = react_native_safe_area_context_1.useSafeAreaInsets();
|
|
17
17
|
const renderContent = () => {
|
|
@@ -46,6 +46,7 @@ const ScreenBase = ({ children, style, contentStyle = {}, icon, title, onBack, b
|
|
|
46
46
|
renderContent(),
|
|
47
47
|
!hasCustomheader ? (react_1.default.createElement(ScreenHeader_1.ScreenHeader, Object.assign({}, {
|
|
48
48
|
icon,
|
|
49
|
+
style: headerStyle,
|
|
49
50
|
onLeftPress,
|
|
50
51
|
leftButtonIcon,
|
|
51
52
|
leftButtonFont,
|