mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
Styled buttons
This commit is contained in:
@@ -25,17 +25,11 @@ export default function Record(props) {
|
||||
|
||||
<div className="flex flex-col items-center justify-center flex-grow -mt-10">
|
||||
{!props.isRecording ? (
|
||||
<button
|
||||
onClick={startRecording}
|
||||
className="px-4 py-2 mb-4 text-2xl font-bold text-white bg-blue-500 rounded"
|
||||
>
|
||||
<button onClick={startRecording} data-color="blue">
|
||||
Record
|
||||
</button>
|
||||
) : (
|
||||
<button
|
||||
onClick={stopRecording}
|
||||
className="px-4 py-2 mb-4 text-2xl font-bold text-red-500 rounded"
|
||||
>
|
||||
<button onClick={stopRecording} data-color="red">
|
||||
Stop
|
||||
</button>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user