Supports only JSX literals for now.
import React from 'react';
class Test extends React.Component {
render() {
var works = false;
return <div className="this works">
<div className={works ? "nope" : "sorry"} />
</div>;
}
}