You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
308 B
JavaScript
10 lines
308 B
JavaScript
import React from 'react';
|
|
|
|
const Button = ({className, children, ...props}) => {
|
|
return (
|
|
<button {...props} className={['bg-yellow-500 rounded-md py-2.5 px-5 text-lg text-white hover:bg-yellow-600 transition delay-50', className].join(' ')}>{children}</button>
|
|
);
|
|
}
|
|
|
|
export default Button;
|