Sha256: 79b9fb96deaf8da74b32c76bb758bb81d2561a9525ad486d56a13413b6ad704e

Contents?: true

Size: 1.67 KB

Versions: 1181

Compression:

Stored size: 1.67 KB

Contents

import React from 'react'

import Table from '../_table'

const TableWithSubcomponentsAsDivs = (props) => {
  return (
    <Table
        size="sm"
        tag="div"
        {...props}
    >
      <Table.Head tag="div">
        <Table.Row tag="div">
          <Table.Header tag="div">{'Column 1'}</Table.Header>
          <Table.Header tag="div">{'Column 2'}</Table.Header>
          <Table.Header tag="div">{'Column 3'}</Table.Header>
          <Table.Header tag="div">{'Column 4'}</Table.Header>
          <Table.Header tag="div">{'Column 5'}</Table.Header>
        </Table.Row>
      </Table.Head>
      <Table.Body tag="div">
        <Table.Row tag="div">
          <Table.Cell tag="div">{'Value 1'}</Table.Cell>
          <Table.Cell tag="div">{'Value 2'}</Table.Cell>
          <Table.Cell tag="div">{'Value 3'}</Table.Cell>
          <Table.Cell tag="div">{'Value 4'}</Table.Cell>
          <Table.Cell tag="div">{'Value 5'}</Table.Cell>
        </Table.Row>
        <Table.Row tag="div">
          <Table.Cell tag="div">{'Value 1'}</Table.Cell>
          <Table.Cell tag="div">{'Value 2'}</Table.Cell>
          <Table.Cell tag="div">{'Value 3'}</Table.Cell>
          <Table.Cell tag="div">{'Value 4'}</Table.Cell>
          <Table.Cell tag="div">{'Value 5'}</Table.Cell>
        </Table.Row>
        <Table.Row>
          <Table.Cell tag="div">{'Value 1'}</Table.Cell>
          <Table.Cell tag="div">{'Value 2'}</Table.Cell>
          <Table.Cell tag="div">{'Value 3'}</Table.Cell>
          <Table.Cell tag="div">{'Value 4'}</Table.Cell>
          <Table.Cell tag="div">{'Value 5'}</Table.Cell>
        </Table.Row>
      </Table.Body>
    </Table>
  )
}

export default TableWithSubcomponentsAsDivs

Version data entries

1,181 entries across 1,181 versions & 2 rubygems

Version Path
playbook_ui_docs-14.12.0.pre.alpha.play1790darkaudittable5802 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.12.0.pre.alpha.play1790darkaudittable5802 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui_docs-14.12.0.pre.alpha.play1752updatecontenttag5801 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.12.0.pre.alpha.play1752updatecontenttag5801 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui_docs-14.13.0.pre.rc.6 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.13.0.pre.rc.6 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui_docs-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui_docs-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui_docs-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.jsx