We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f26ba2 commit 68565cfCopy full SHA for 68565cf
src/incubator/Dialog/DialogHeader.tsx
@@ -38,12 +38,12 @@ const DialogHeader = (props: DialogHeaderProps = {}) => {
38
if (!isEmpty(title) || !isEmpty(subtitle)) {
39
return (
40
<Container onPress={onPress} center flex>
41
- {title && (
+ {!isEmpty(title) && (
42
<Text $textDefault {...titleProps} marginB-s3 style={titleStyle}>
43
{title}
44
</Text>
45
)}
46
- {subtitle && (
+ {!isEmpty(subtitle) && (
47
<Text $textDefault {...subtitleProps} marginB-s3 style={subtitleStyle}>
48
{subtitle}
49
0 commit comments