From 7720eac74fd5c157d39cc5334b680da875e9fbe0 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 8 Mar 2019 15:30:38 -0500 Subject: [PATCH] codacy fix --- packages/embark-ui/src/components/TextEditorToolbar.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/embark-ui/src/components/TextEditorToolbar.js b/packages/embark-ui/src/components/TextEditorToolbar.js index 4fda5163d..509dca273 100644 --- a/packages/embark-ui/src/components/TextEditorToolbar.js +++ b/packages/embark-ui/src/components/TextEditorToolbar.js @@ -11,6 +11,12 @@ const StatusText = ({message, icon, spin = false}) => ( {message} ); +StatusText.propTypes = { + message: PropTypes.string, + icon: PropTypes.string, + spin: PropTypes.bool +}; + export const TextEditorToolbarTabs = { Interact: { label: 'Interact', icon: 'bolt' }, Details: { label: 'Details', icon: 'info-circle' }, @@ -83,6 +89,7 @@ class TextEditorToolbar extends Component { {this.state.successMessage && } {this.props.editorOperationStatus.loading && } {this.props.editorOperationStatus.error && } +