mirror of
				https://github.com/mickael-kerjean/filestash.git
				synced 2025-11-04 05:27:04 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			273 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 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>
 | 
						|
    );
 | 
						|
}
 |