GUI for onix
This commit is contained in:
16
onix-gui/components/Buttons/PrimaryButton.js
Normal file
16
onix-gui/components/Buttons/PrimaryButton.js
Normal 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;
|
||||
Reference in New Issue
Block a user