import style from "./style.module.scss";

export function Alert(props: {
    lines: string[]
}) {
    if(props.lines.length < 1) return null;

    return (
        <div className={style.alert}>
            {props.lines.map(line => <p>{line}</p>)}
        </div>
    );
}