Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
fix(build): reformat files
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeinsch authored and cdaringe committed Oct 5, 2018
1 parent 4261abf commit 543b9d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/BannerMessage/BannerMessage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import classnames from 'classnames'
*/

const BannerMessage = props => {
const {button, closed, header, icon, children, info, warning, error, success, onCloseClicked, ...rest} = props
const { button, closed, header, icon, children, info, warning, error, success, onCloseClicked, ...rest } = props
const forceInfo = !info && !warning && !error && !success

function getOneDismissElement () {
Expand Down Expand Up @@ -47,7 +47,7 @@ const BannerMessage = props => {
'ei icon_info_alt': info || forceInfo,
'ei icon_error-triangle_alt': warning,
'ei icon_error-circle_alt': error
})}/>
})} />
)
const DismissElement = getOneDismissElement()

Expand Down

0 comments on commit 543b9d0

Please sign in to comment.