Dejvino's Curriculum Vitae
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

28 satır
799 B

  1. import React from 'react';
  2. import Card from 'react-bootstrap/Card';
  3. export type Props = {
  4. heading?: string,
  5. position: string,
  6. timerange: string,
  7. company: string,
  8. description: string
  9. };
  10. export default function JobCard(props: Props) {
  11. return (
  12. <Card className='job-card'>
  13. {props.heading && (
  14. <Card.Header>{props.heading}</Card.Header>
  15. )}
  16. <Card.Body>
  17. <Card.Title>{props.position}</Card.Title>
  18. <Card.Subtitle>
  19. <span className='company-name'>{props.company}</span>, <span className='timerange'>{props.timerange}</span>
  20. </Card.Subtitle>
  21. <Card.Text>{props.description}</Card.Text>
  22. </Card.Body>
  23. </Card>
  24. );
  25. }