2023-05-26 19:59:42 +03:00
|
|
|
import React from "react";
|
|
|
|
|
2023-06-13 12:02:59 +03:00
|
|
|
import "./basebutton.scss"
|
2023-05-26 19:59:42 +03:00
|
|
|
|
2023-05-29 15:01:38 +03:00
|
|
|
export const BaseButton = ({ children, styles, ...props }) => {
|
2023-05-26 19:59:42 +03:00
|
|
|
return (
|
|
|
|
<button
|
2023-06-13 12:02:59 +03:00
|
|
|
className={styles ? `${styles} button` : "button"}
|
2023-05-26 19:59:42 +03:00
|
|
|
{...props}
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
</button>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2023-05-29 15:01:38 +03:00
|
|
|
export default BaseButton;
|