Skip to content

Commit 1373fad

Browse files
authored
Fix section subtitle incorrect prop warning (#282)
1 parent 8c61323 commit 1373fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pwa/app/components/section/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Section.propTypes = {
5050
/**
5151
* Section component subtitle
5252
*/
53-
subtitle: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
53+
subtitle: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.node]),
5454
/**
5555
* Section children node(s)
5656
*/

0 commit comments

Comments
 (0)