Add components for Act management and integrate Electron setup
This commit is contained in:
28
components/input/BackButton.tsx
Normal file
28
components/input/BackButton.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import React from "react";
|
||||
|
||||
export default function BackButton(
|
||||
{
|
||||
text,
|
||||
callBackFunction
|
||||
}:{
|
||||
text:string,
|
||||
callBackFunction: Function;
|
||||
}){
|
||||
|
||||
function callBackButton(){
|
||||
callBackFunction();
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="text-center mt-4">
|
||||
<button
|
||||
onClick={callBackButton}
|
||||
className="text-muted hover:text-primary hover:scale-105 transition-all duration-200 font-medium px-3 py-1.5 rounded-lg hover:bg-primary/10"
|
||||
>
|
||||
{
|
||||
text
|
||||
}
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user