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

@@ -50,7 +50,7 @@ export const Credentials: FunctionComponent<Props> = observer(
</Text>
<Button
className="min-w-20 mt-3"
type="normal"
variant="normal"
label="Change email"
onClick={() => {
setIsChangeEmailDialogOpen(true);
@@ -64,7 +64,7 @@ export const Credentials: FunctionComponent<Props> = observer(
</Text>
<Button
className="min-w-20 mt-3"
type="normal"
variant="normal"
label="Change password"
onClick={presentPasswordWizard}
/>