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,6 +1,9 @@
1
1
  import React from "react";
2
2
  declare type Props = {
3
3
  isSelf?: boolean;
4
+ titleText?: string;
5
+ emptyText?: string;
6
+ infoText?: string;
4
7
  };
5
8
  export declare const ScoreEmpty: React.FC<Props>;
6
9
  export {};
@@ -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;CAClB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CActC,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: "Ba\u015Far\u0131lar ve Puanlar" },
13
- react_1.default.createElement(Typography_1.Typography, { style: styles.profileEmpty }, "Hen\u00FCz hi\u00E7 puan kaydedilmemi\u015F."),
14
- !!isSelf && (react_1.default.createElement(Typography_1.Typography, null, "Oyunlara kat\u0131l\u0131p puan kazanmaya ba\u015Flad\u0131ktan sonra buradan hesab\u0131nla ilgili t\u00FCm ba\u015Far\u0131 puanlar\u0131n\u0131 g\u00F6rebilirsin."))));
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koylu-vampir-design",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Design System for Koylu Vampir Game",
5
5
  "keywords": [
6
6
  "react-native",