Sha256: 74a0a8c4c2d1570da82aab9fd6dc13dc8e942126c7322aef6830e8316d9b13f3
Contents?: true
Size: 710 Bytes
Versions: 38
Compression:
Stored size: 710 Bytes
Contents
/* @flow */ import React from 'react' import classnames from 'classnames' import { Body, Title, } from '../' type PersonProps = { className?: String | Array<String>, dark?: Boolean, firstName: String, lastName: String, } const Person = ({ className, dark = false, firstName, lastName, }: PersonProps) => { return ( <div className={classnames('pb_person_kit', className)}> <Body className="pb_person_first" dark={dark} tag="span" > {firstName} </Body> <Title className="pb_person_first" dark={dark} size={4} text={` ${lastName}`} /> </div> ) } export default Person
Version data entries
38 entries across 38 versions & 1 rubygems