-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathButton.js
More file actions
39 lines (36 loc) · 1009 Bytes
/
Button.js
File metadata and controls
39 lines (36 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import styles from "./Button.module.css";
const Button = (...props) => {
console.log(props, "Button");
return <p>Hey</p>;
};
// const Button = ({
// variant,
// text,
// disableShadow,
// states,
// disabled,
// size,
// color,
// startIcon,
// endIcon,
// children
// }) => {
// return (
// <button
// className={`
// ${styles.button}
// ${color ? styles[color] : styles["default"]}
// ${styles[variant]}
// ${disableShadow ? styles.disableShadow : undefined}
// ${styles[size]}`}
// disabled={disabled ? "disabled" : ""}
// >
// {startIcon && <span className="material-icons">{startIcon}</span>}
// {/* {variant && <span className={styles["caps"]}> {variant}</span>}
// {color && <span className={styles["caps"]}> {color}</span>} */}
// <span className={styles["caps"]}> Default </span>
// {endIcon && <span className="material-icons">{endIcon}</span>}
// </button>
// );
// };
export default Button;