From 08bd99d293b23341b51b4b4d20effee53509a3d9 Mon Sep 17 00:00:00 2001 From: mytharcher Date: Wed, 3 Jun 2020 19:04:58 +0800 Subject: [PATCH] [Steps]: Change title property type to allow react node. --- src/steps/Step.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps/Step.jsx b/src/steps/Step.jsx index adf255b7b..3b41aa9e8 100644 --- a/src/steps/Step.jsx +++ b/src/steps/Step.jsx @@ -73,7 +73,7 @@ export default class Step extends Component { } Step.propTypes = { - title: PropTypes.string, + title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), icon: PropTypes.string, description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), status: PropTypes.string,