Last active
March 14, 2016 07:35
-
-
Save nicohvi/59281b7aec14d34a17bd to your computer and use it in GitHub Desktop.
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
class Lamell extends Component { | |
render () { | |
const { content, lamell, title } = this.props; | |
// etc. | |
} | |
} | |
class Form extends Component { | |
render () { | |
const { postnr, poststed, adresselinje1, navn, fodselsdato } = this.props; | |
const content = (<p>Velkommen {navn}! Her kan du søke om oppsatt alderspensjon</p> | |
<p>Du har fødselsnummer {fodselsnummer}</p> | |
<p>Vi har registrert følgende adresse på deg:</p> | |
<p>{adresselinje1}</p> | |
<p>{postnr}, {poststed}</p> | |
<p>Du er født {formatDate(fodtdato)}</p>); | |
const lamell = { completed: [] }; | |
return <div className="oppsattAlder"> | |
<Lamell title="Om deg" content={content} lamell={lamell} /> | |
</div> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment