setSettings
This commit is contained in:
1 parent
5bcaa9259e
commit
c613dfa879
3 files changed
+146
-21
No files matched your search
@@ -2,9 +2,9 @@ import React from "react";
|
||||
|
||||
import "./basebutton.scss";
|
||||
|
||||
export const BaseButton = ({ children, styles, ...props }) => {
|
||||
export const BaseButton = ({ children, styles, onClick, ...props }) => {
|
||||
return (
|
||||
<button className={styles ? `${styles} button` : "button"} {...props}>
|
||||
<button onClick={onClick} className={styles ? `${styles} button` : "button"} {...props}>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user