Где дизайн
This commit is contained in:
22
src/components/Second/Second.js
Normal file
22
src/components/Second/Second.js
Normal file
@ -0,0 +1,22 @@
|
||||
import React from "react"
|
||||
|
||||
const Second = (props) => {
|
||||
|
||||
const route = props.getValue
|
||||
|
||||
return (
|
||||
<div style={{
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignContent: 'center',
|
||||
flexWrap: 'wrap',
|
||||
justifyContent: 'space-between',
|
||||
height: '95vh',
|
||||
}}>
|
||||
<span>Пройти опрос</span>
|
||||
<button onClick={() => route('/tinder')}>Tinder</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Second;
|
Reference in New Issue
Block a user