Sha256: 9e976daa41400ede5c0d8b4dd5bb1e80f6389fd43d187687d4dd1cc8f8e5fb9e

Contents?: true

Size: 1.91 KB

Versions: 170

Compression:

Stored size: 1.91 KB

Contents

import React from 'react'
import { Body, Card, Title } from '../../'

const CardHeader = (props) => {
  return (
    <div>
      <Title
          {...props}
          size={4}
          tag="h4"
          text="Category Colors"
      />

      <br />

      <Card
          {...props}
          padding="none"
      >
        <Card.Header>
          <Body
              {...props}
              text="category_1"
          />
        </Card.Header>
        <Card.Body>
          <Body
              {...props}
              text="Body"
          />
        </Card.Body>
      </Card>

      <br />

      <Card
          {...props}
          padding="none"
      >
        <Card.Header
            headerColor="category_2"
        >
          <Body
              {...props}
              text="category_2"
          />
        </Card.Header>
        <Card.Body
            padding="md"
        >
          <Body
              {...props}
              text="Body"
          />
        </Card.Body>
      </Card>

      <br />

      <Title
          {...props}
          size={4}
          tag="h4"
          text="Product Colors"
      />

      <br />

      <Card
          {...props}
          padding="none"
      >
        <Card.Header
            headerColor="siding"
        >
          <Body
              {...props}
              text="Siding"
          />
        </Card.Header>
        <Card.Body>
          <Body
              {...props}
              text="Body"
          />
        </Card.Body>
      </Card>

      <br />

      <Card
          {...props}
          padding="none"
      >
        <Card.Header
            headerColor="gutters"
        >
          <Body
              {...props}
              text="Gutters"
          />
        </Card.Header>
        <Card.Body>
          <Body
              {...props}
              text="Body"
          />
        </Card.Body>
      </Card>

    </div>
  )
}

export default CardHeader

Version data entries

170 entries across 170 versions & 1 rubygems

Version Path
playbook_ui-9.19.0 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.18.0 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.17.0 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.16.0 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.15.0 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.12.0 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.11.0 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.10.0 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_card/docs/_card_header.jsx
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_card/docs/_card_header.jsx