mirror of
https://github.com/ANL-CEEESA/RELOG.git
synced 2025-12-05 23:38:52 -06:00
23 lines
700 B
TypeScript
23 lines
700 B
TypeScript
/*
|
|
* RELOG: Supply Chain Analysis and Optimization
|
|
* Copyright (C) 2020-2025, UChicago Argonne, LLC. All rights reserved.
|
|
* Released under the modified BSD license. See COPYING.md for more details.
|
|
*/
|
|
|
|
import styles from "./HelpButton.module.css";
|
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
import { faCircleQuestion } from "@fortawesome/free-regular-svg-icons";
|
|
|
|
function HelpButton({ text }: { text: String }) {
|
|
return (
|
|
<button className={styles.HelpButton}>
|
|
<span className={styles.tooltip}>{text}</span>
|
|
<span className={styles.icon}>
|
|
<FontAwesomeIcon icon={faCircleQuestion} />
|
|
</span>
|
|
</button>
|
|
);
|
|
}
|
|
|
|
export default HelpButton;
|