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 && } +