Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
于良
2016-12-28 17:16:26 +0800
Commit
ea4a56d401ba09112edadab704571d0ab4f800c5
1 parent
d1000ffc
没有提示文字时prompt不显示 review by 草莓
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
js/coupon/components/coupon/Prompt.js
js/coupon/components/coupon/Prompt.js
View file @
ea4a56d
...
...
@@ -99,6 +99,11 @@ export default class Prompt extends Component {
marginBottom
:
15
,
},
});
if
(
!
this
.
props
.
icon
)
{
if
(
!
this
.
props
.
text
)
{
return
null
;
}
}
return
(
<
Animated
.
View
style
=
{[
styles
.
container
,
{
opacity
:
this
.
state
.
fadeAnim
,}]}
>
...
...
Please
register
or
login
to post a comment