Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Conversation

@wbprice
Copy link
Member

@wbprice wbprice commented Jun 15, 2017

Alert component that behaves like Bootstrap inline alerts.

@wbprice wbprice requested review from qwo and ttavenner June 15, 2017 19:39
@wbprice wbprice changed the title Inline alert Inline alert component Jun 15, 2017
if (alertLevels.includes(this.props.level)) {
levelClass = this.props.level;
}

Copy link
Member

@qwo qwo Jun 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let levelClass = alertLevels[this.props.level] || 'info'; be cleaner or harder to understand?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after talking to blaine its fine left as is.

we dont want css class 🥔 after all.

if (alertLevels.includes(this.props.level)) {
levelClass = this.props.level;
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after talking to blaine its fine left as is.

we dont want css class 🥔 after all.

@qwo qwo merged commit 9825da6 into Code4HR:develop Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants