refactor: button to allow html attributes & refactor class names (#956)
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user