diff options
Diffstat (limited to 'ui/app/components/modal/modal-content/modal-content.component.js')
-rw-r--r-- | ui/app/components/modal/modal-content/modal-content.component.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/ui/app/components/modal/modal-content/modal-content.component.js b/ui/app/components/modal/modal-content/modal-content.component.js deleted file mode 100644 index ecec0ee5b..000000000 --- a/ui/app/components/modal/modal-content/modal-content.component.js +++ /dev/null @@ -1,32 +0,0 @@ -import React, { PureComponent } from 'react' -import PropTypes from 'prop-types' - -export default class ModalContent extends PureComponent { - static propTypes = { - title: PropTypes.string, - description: PropTypes.string, - } - - render () { - const { title, description } = this.props - - return ( - <div className="modal-content"> - { - title && ( - <div className="modal-content__title"> - { title } - </div> - ) - } - { - description && ( - <div className="modal-content__description"> - { description } - </div> - ) - } - </div> - ) - } -} |