Skip to content

Commit 75c6726

Browse files
authored
fix: fix ToolbarContent proptypes
1 parent 624bdc3 commit 75c6726

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Toolbar/ToolbarContent.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ class ToolbarContent extends Component<void, Props, void> {
3939
/**
4040
* Style for the title
4141
*/
42-
titleStyle: View.propTypes.style,
42+
titleStyle: Text.propTypes.style,
4343
style: View.propTypes.style,
4444
/**
4545
* Style for the subtitle
4646
*/
47-
subtitleStyle: View.propTypes.style,
47+
subtitleStyle: Text.propTypes.style,
4848
theme: PropTypes.object.isRequired,
4949
};
5050

0 commit comments

Comments
 (0)