@momo-kits/swipe 0.0.56-alpha.2 → 0.0.56-alpha.4
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.
- package/SwipeAction.js +5 -1
- package/package.json +2 -4
package/SwipeAction.js
CHANGED
|
@@ -537,7 +537,11 @@ class SwipeAction extends Component {
|
|
|
537
537
|
|
|
538
538
|
renderTitle = (title) => {
|
|
539
539
|
const { actionTextStyle } = this.props;
|
|
540
|
-
return
|
|
540
|
+
return (
|
|
541
|
+
<Text.SubTitle style={[styles.text, actionTextStyle]}>
|
|
542
|
+
{title}
|
|
543
|
+
</Text.SubTitle>
|
|
544
|
+
);
|
|
541
545
|
};
|
|
542
546
|
|
|
543
547
|
onActionPress = (item, rowIndex) => () => {
|
package/package.json
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momo-kits/swipe",
|
|
3
|
-
"version": "0.0.56-alpha.
|
|
3
|
+
"version": "0.0.56-alpha.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"dependencies": {
|
|
7
|
-
"@momo-platform/versions": "4.0.2"
|
|
8
|
-
},
|
|
6
|
+
"dependencies": {},
|
|
9
7
|
"peerDependencies": {
|
|
10
8
|
"prop-types": "^15.7.2",
|
|
11
9
|
"react": "^16.9.0",
|