mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 00:08:52 -06:00
24 lines
540 B
TypeScript
24 lines
540 B
TypeScript
/*
|
|
* UnitCommitment.jl: Optimization Package for Security-Constrained Unit Commitment
|
|
* 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 "./SiteHeaderButton.module.css";
|
|
|
|
function SiteHeaderButton({
|
|
title,
|
|
onClick,
|
|
}: {
|
|
title: string;
|
|
onClick?: () => void;
|
|
}) {
|
|
return (
|
|
<button className={styles.SiteHeaderButton} onClick={onClick}>
|
|
{title}
|
|
</button>
|
|
);
|
|
}
|
|
|
|
export default SiteHeaderButton;
|