import React from "react";
import styles from "./Darken.css";

export default function Darken({active, className, ...others}) {

    return (
        <div 
            className={styles.darken
                + (active ? " " + styles.darkenActive : "")
                + (className ? " " + className : "")}
            {...others} />
    );
}