Skip to content

Commit 5b18abd

Browse files
committed
fix: restore footer slot to CWidgetIcon component
1 parent 302dd82 commit 5b18abd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/CWidgetIcon.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const CWidgetIcon = props => {
1616
text,
1717
iconPadding,
1818
color,
19+
footerSlot,
1920
...attributes
2021
} = props;
2122

@@ -35,6 +36,7 @@ const CWidgetIcon = props => {
3536
{text}</div>}
3637
</div>
3738
</div>
39+
{ footerSlot }
3840
</div>
3941
)
4042
}
@@ -48,7 +50,8 @@ CWidgetIcon.propTypes = {
4850
header: PropTypes.string,
4951
text: PropTypes.string,
5052
iconPadding: PropTypes.bool,
51-
color: PropTypes.string
53+
color: PropTypes.string,
54+
footerSlot: PropTypes.node
5255
};
5356

5457
CWidgetIcon.defaultProps = {

0 commit comments

Comments
 (0)