koylu-vampir-design 1.0.18 → 1.0.19
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScoreEmpty.d.ts","sourceRoot":"","sources":["../../src/Scores/ScoreEmpty.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,aAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ScoreEmpty.d.ts","sourceRoot":"","sources":["../../src/Scores/ScoreEmpty.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,aAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAepC,CAAC"}
|
|
@@ -8,16 +8,16 @@ const react_1 = __importDefault(require("react"));
|
|
|
8
8
|
const ScoreCard_1 = require("./ScoreCard");
|
|
9
9
|
const Typography_1 = require("../Typography");
|
|
10
10
|
const react_native_1 = require("react-native");
|
|
11
|
-
const ScoreEmpty = ({ isSelf }) => {
|
|
12
|
-
return (react_1.default.createElement(ScoreCard_1.ScoreCard, { title:
|
|
13
|
-
react_1.default.createElement(Typography_1.Typography, { style: styles.profileEmpty },
|
|
14
|
-
!!isSelf && (react_1.default.createElement(Typography_1.Typography, null,
|
|
11
|
+
const ScoreEmpty = ({ isSelf, titleText = "Başarılar ve Puanlar", emptyText = "Henüz hiç puan kaydedilmemiş.", infoText = "Oyunlara katılıp puan kazanmaya başladıktan sonra buradan hesabınla\ilgili tüm başarı puanlarını görebilirsin." }) => {
|
|
12
|
+
return (react_1.default.createElement(ScoreCard_1.ScoreCard, { title: titleText },
|
|
13
|
+
react_1.default.createElement(Typography_1.Typography, { style: styles.profileEmpty }, emptyText),
|
|
14
|
+
!!isSelf && (react_1.default.createElement(Typography_1.Typography, null, infoText))));
|
|
15
15
|
};
|
|
16
16
|
exports.ScoreEmpty = ScoreEmpty;
|
|
17
17
|
const styles = react_native_1.StyleSheet.create({
|
|
18
18
|
profileEmpty: {
|
|
19
19
|
textAlign: "center",
|
|
20
20
|
color: "#919191",
|
|
21
|
-
marginBottom: 20
|
|
22
|
-
}
|
|
21
|
+
marginBottom: 20
|
|
22
|
+
}
|
|
23
23
|
});
|