-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
built signinform component for the signin component
- Loading branch information
1 parent
096ace5
commit c23f9f0
Showing
3 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
import React, { Component } from 'react'; | ||
|
||
import { reduxForm, Field } from 'redux-form'; | ||
import SignInForm from './signinForm'; | ||
|
||
class SignIn extends Component { | ||
render() { | ||
return ( | ||
<div className='sign-in'> | ||
sign innn | ||
<SignInForm className='sign-in__form' /> | ||
</div> | ||
) | ||
} | ||
} | ||
|
||
SignIn = reduxForm({ | ||
form: 'SignIn' | ||
})(SignIn); | ||
|
||
export default SignIn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React, { Component } from 'react'; | ||
|
||
import { reduxForm, Field } from 'redux-form'; | ||
|
||
class SignInForm extends Component { | ||
render() { | ||
const { className } = this.props; | ||
return ( | ||
<form className={`${className} sign-in-form`}> | ||
sign innn | ||
</form> | ||
) | ||
} | ||
} | ||
|
||
SignInForm = reduxForm({ | ||
form: 'SignInForm' | ||
})(SignInForm); | ||
|
||
export default SignInForm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
.sign-in { | ||
grid-row: content-s/content-e; | ||
grid-column: s/e; | ||
|
||
&__form { | ||
|
||
} | ||
} | ||
|
||
.sign-in-form { | ||
|
||
} |