Skip to content

Instantly share code, notes, and snippets.

@pcorpet
Created July 12, 2019 14:57
Show Gist options
  • Select an option

  • Save pcorpet/6b48b922da7b22b42ee49d185ac89ea6 to your computer and use it in GitHub Desktop.

Select an option

Save pcorpet/6b48b922da7b22b42ee49d185ac89ea6 to your computer and use it in GitHub Desktop.
Sample of Bob Emploi's code.
<WithNote
hasComment={true}
note={<React.Fragment>
{userYou('Tu ne trouves pas ton', 'Vous ne trouvez pas votre')} métier&nbsp;?
<ExternalLink style={{color: colors.BOB_BLUE, fontSize: 15, marginLeft: 3}}
href="https://airtable.com/shreUw3GYqAwVAA27">
Clique{userYou('', 'z')} ici pour l'ajouter
</ExternalLink>
</React.Fragment>}>
<FieldSet
label={this.renderWhichJobQuestion()}
isValid={!!targetJob}
isValidated={isValidated}
hasCheck={true}
hasNoteOrComment={true}>
<JobSuggest
placeholder={`${userYou('entre ton', 'entrez votre')} métier`}
value={targetJob}
onChange={this.handleSuggestChange('targetJob')}
gender={gender}
style={{padding: 1, ...Styles.INPUT}} />
</FieldSet>
</WithNote>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment