mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 16:32:31 +01:00
11 lines
273 B
JavaScript
11 lines
273 B
JavaScript
import React from "react";
|
|
|
|
import "./button.scss";
|
|
|
|
export function Button({ theme = "", children = null, className = "", ...props }) {
|
|
return (
|
|
<button {...props} className={`${className} ${theme}`.trim()}>
|
|
{ children }
|
|
</button>
|
|
);
|
|
}
|