(buttonText: string)
| 44 | } |
| 45 | |
| 46 | export function trackingSyncButtonElement(buttonText: string) { |
| 47 | const syncButton = document.createElement('button'); |
| 48 | syncButton.className = 'sync'; |
| 49 | syncButton.style = ` |
| 50 | margin-bottom: 8px; |
| 51 | background-color: transparent; |
| 52 | border: none; |
| 53 | color: rgb(255,64,129); |
| 54 | margin-top: 10px; |
| 55 | cursor: pointer; |
| 56 | `; |
| 57 | syncButton.innerText = buttonText; |
| 58 | |
| 59 | return syncButton; |
| 60 | } |
| 61 | |
| 62 | export function trackingNoteElement(noteText: string) { |
| 63 | const noteDiv = document.createElement('div'); |