IKHSAN
EN Read in EnglishID

pixies

Publik
Branch
master
Commit terakhir
9b0697f26 Oktober 2026

StatisticContainer.jsx

Buka raw
import "./styles.sass";
import BorderAnimation from "@/common/components/BorderAnimation";

export const StatisticContainer = (props) => {
    const showAnimation = props.running && !props.expanded;

    return (
        <div className={"stats-container" + (props.size ? " container-" + props.size : "") + (showAnimation ? " container-running" : "")} onClick={props.onClick}>
            {showAnimation && <BorderAnimation />}
            <div className="stats-header">
                {props.title}
            </div>
            <div className={"stats-content " + (props.center ?" container-center" : "")}>
                {props.children}
            </div>
        </div>
    );
}
byte
684
baris
18
Jenis
jsx
Commit terakhir
26 Oktober 2026