Add login button to lobby screen

This commit is contained in:
Robert Long 2021-12-13 16:16:25 -08:00
commit c3f4f32107
4 changed files with 38 additions and 5 deletions

View file

@ -28,6 +28,7 @@ limitations under the License.
padding: 0;
border: none;
cursor: pointer;
text-decoration: none;
}
.secondary,

12
src/button/LinkButton.jsx Normal file
View file

@ -0,0 +1,12 @@
import React from "react";
import { Link } from "react-router-dom";
import classNames from "classnames";
import styles from "./Button.module.css";
export function LinkButton({ className, children, ...rest }) {
return (
<Link className={classNames(styles.secondary, className)} {...rest}>
{children}
</Link>
);
}

View file

@ -1,2 +1,3 @@
export * from "./Button";
export * from "./CopyButton";
export * from "./LinkButton";