Add login button to lobby screen
This commit is contained in:
parent
48d011fb69
commit
c3f4f32107
4 changed files with 38 additions and 5 deletions
12
src/button/LinkButton.jsx
Normal file
12
src/button/LinkButton.jsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue