Skip to content

Commit 5c86a3a

Browse files
author
Tomasz John
committed
- fix: CCard default custom value set to true
1 parent 4827eb9 commit 5c86a3a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/CCard.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ const CCard = props=>{
4949
<CCardHeader>
5050
{headerSlot}
5151
</CCardHeader>
52-
): ''}
52+
): null}
5353
<CCardBody {...bodyProps} className={bodyClassName}>
5454
{children}
5555
</CCardBody>
5656
{footerSlot?(
5757
<CCardFooter>
5858
{footerSlot}
5959
</CCardFooter>
60-
): ''}
60+
): null}
6161
</Tag>
6262
);
6363

@@ -99,7 +99,8 @@ CCard.propTypes = {
9999
}
100100

101101
CCard.defaultProps = {
102-
tag: 'div'
102+
tag: 'div',
103+
custom: true
103104
}
104105

105106
export default CCard;

0 commit comments

Comments
 (0)