refactor: button to allow html attributes & refactor class names (#956)

This commit is contained in:
Aman Harwara
2022-03-28 17:41:54 +05:30
committed by GitHub
parent 3ca7102fd0
commit aba1e35a1d
31 changed files with 117 additions and 90 deletions

View File

@@ -201,7 +201,7 @@ export const DataBackups = observer(({ application, appState }: Props) => {
)}
<Button
type="normal"
variant="normal"
onClick={downloadDataArchive}
label="Download backup"
className="mt-2"
@@ -212,7 +212,7 @@ export const DataBackups = observer(({ application, appState }: Props) => {
<div class="flex flex-row items-center mt-3">
<Button
type="normal"
variant="normal"
label="Import backup"
onClick={handleImportFile}
/>