Sha256: 6ac886526c9bb92785b5afe6f08f755a6b9c7f492198055ea50239d5a71ab1c6

Contents?: true

Size: 619 Bytes

Versions: 21

Compression:

Stored size: 619 Bytes

Contents

/* @flow */
import React from 'react'
import { Body, Title } from '../'

type TitleCountProps = {
  className?: String,
  data?: String,
  id?: String,
  title?: String,
  count?: Number,
  size?: String
}

const TitleCount = ({
  className = 'pb_title_count_kit',
  data,
  count,
  id,
  title,
  size,
}: TitleCountProps) => (
  <div
      className={className}
      data={data}
      id={id}
  >
    <Title
        className="pb_title_count_text"
        size={size == 'lg' ? 3 : 4}
        text={title}
    />
    <Body
        color="light"
        text={`${count}`}
    />
  </div>
)

export default TitleCount

Version data entries

21 entries across 21 versions & 1 rubygems

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