Init(Coore): add to repo
This commit is contained in:
5
components/Button.js
Executable file
5
components/Button.js
Executable file
@@ -0,0 +1,5 @@
|
||||
export default function Input({className, text, onClick}){
|
||||
return(
|
||||
<button onClick={ onClick }className="bg-gradient-to-r from-rose-500 active:shadow-lg to-violet-500 hover:from-rose-600 hover:to-violet-600 transition rounded-lg p-2 text-white shadow-sm shadow-red-200 hover:shadow-violet-200">{ text }</button>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user