copied new version

This commit is contained in:
Mishalabdullah
2024-05-03 11:10:14 +05:30
parent 80e9e7e6cb
commit ff0cd83613
49 changed files with 300 additions and 644 deletions

View File

@@ -0,0 +1,24 @@
.primaryButton {
background-color: #abd4fa;
color: #000000;
padding: 0.5rem 1rem;
border-radius: 10px;
border: none;
font-size: 1rem;
cursor: pointer;
padding: 0.75rem 2rem;
}
.secondaryButton {
background-color: #000000;
color: #abd4fa;
padding: 0.5rem 1rem;
border-radius: 10px;
border: none;
font-size: 1rem;
cursor: pointer;
border: 1px solid #abd4fa;
padding: 0.75rem 2.25rem;
}

View File

@@ -0,0 +1,16 @@
import React from "react";
import styles from "./Buttons.module.css";
const PrimaryButton = ({ label = "continue", onClick, disabled = false }) => {
return (
<button
className={styles.primaryButton}
onClick={onClick}
disabled={disabled}
>
{label}
</button>
);
};
export default PrimaryButton;

View File

@@ -0,0 +1,8 @@
import React from "react";
import styles from "./Buttons.module.css";
const SecondaryButton = () => {
return <button className={styles.secondaryButton}>Cancel</button>;
};
export default SecondaryButton;