Add login button to lobby screen
This commit is contained in:
parent
48d011fb69
commit
c3f4f32107
4 changed files with 38 additions and 5 deletions
|
|
@ -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
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>
|
||||
);
|
||||
}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
export * from "./Button";
|
||||
export * from "./CopyButton";
|
||||
export * from "./LinkButton";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue