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

Version Path
playbook_ui-4.17.0.pre.alpha1 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.16.0 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.15.0 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.14.0 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.13.1 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.13.0 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.12.0 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.11.0 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.10.0 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.9.0 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.8.2 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.8.1 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.7.1 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.7.0 app/pb_kits/playbook/pb_person/_person.jsx
playbook_ui-4.6.1 app/pb_kits/playbook/pb_person/_person.jsx