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

@@ -130,7 +130,7 @@ export const ConfirmPassword: FunctionComponent<Props> = observer(
label={
isRegistering ? 'Creating account...' : 'Create account & sign in'
}
type="primary"
variant="primary"
onClick={handleConfirmFormSubmit}
disabled={isRegistering}
/>

View File

@@ -122,7 +122,7 @@ export const CreateAccount: FunctionComponent<Props> = observer(
<Button
className="btn-w-full mt-1"
label="Next"
type="primary"
variant="primary"
onClick={handleRegisterFormSubmit}
/>
</form>

View File

@@ -171,7 +171,7 @@ export const SignInPane: FunctionComponent<Props> = observer(
<Button
className="btn-w-full mt-1 mb-3"
label={isSigningIn ? 'Signing in...' : 'Sign in'}
type="primary"
variant="primary"
onClick={handleSignInFormSubmit}
disabled={isSigningIn}
/>