<commit_before>var React = require("react");
var {Button} = require("react-bootstrap");


var confirmMark = "\u2713"; // check mark
var retractMark = "\u00D7"; // multiplication sign

function confirmOrRetractButton(userSelected, confirm, retract, size = "medium") {
	return userSelected
		? <Button className="dim" bsSize={size} onClick={retract}>{retractMark}</Button>
		: <Button className="dim" bsSize={size} onClick={confirm}>{confirmMark}</Button>;
}

module.exports = {confirmOrRetractButton}
<commit_msg>Use Glyphicons for confirm/retract buttons.<commit_after>var React = require("react");
var {Button, Glyphicon} = require("react-bootstrap");


function confirmOrRetractButton(userSelected, confirm, retract, size = "medium") {
	return userSelected
		? <Button className="dim" bsSize={size} onClick={retract}><Glyphicon glyph="remove"/></Button>
		: <Button className="dim" bsSize={size} onClick={confirm}><Glyphicon glyph="ok"    /></Button>;
}

module.exports = {confirmOrRetractButton}

{'fraction_non_alphanumeric': 0.15915915915915915, 'fraction_numerical': 0.007007007007007007, 'mean_word_length': 7.0, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6849951', 'n_tokens_mistral': 312, 'n_tokens_neox': 295, 'n_words': 66}