Sha256: 6e55b50778728411aae6fd6713e1858b52d283e31566962744767a16547baeab

Contents?: true

Size: 1.43 KB

Versions: 279

Compression:

Stored size: 1.43 KB

Contents

import React from 'react'

import Table from '../_table'
import Background from "../../pb_background/_background"

const TableWithBackgroundKit = (props) => {
  return (
    <div>
      <Table
          {...props}
      >
        <thead>
          <tr>
              <th>{'Column 1'}</th>
              <th>{'Column 2'}</th>
              <th>{'Column 3'}</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>{'Value 1'}</td>
            <td>{'Value 2'}</td>
            <td>{'Value 3'}</td>
          </tr>
          <Background
              backgroundColor="error_subtle"
              tag='tr'
          >
            <td>{'Value 1'}</td>
            <td>{'Value 2'}</td>
            <td>{'Value 3'}</td>
          </Background>
          <tr>
            <td>{'Value 1'}</td>
            <td>{'Value 2'}</td>
            <td>{'Value 3'}</td>
          </tr>
          <tr>
            <td>{'Value 1'}</td>
            <td>{'Value 2'}</td>
            <td>{'Value 3'}</td>
          </tr>
          <Background
              backgroundColor="warning_subtle"
              tag='tr'
          >
            <td>{'Value 1'}</td>
            <td>{'Value 2'}</td>
            <td>{'Value 3'}</td>
          </Background>
          <tr>
            <td>{'Value 1'}</td>
            <td>{'Value 2'}</td>
            <td>{'Value 3'}</td>
          </tr>
        </tbody>
      </Table>
    </div>
  )
}

export default TableWithBackgroundKit

Version data entries

279 entries across 279 versions & 2 rubygems

Version Path
playbook_ui_docs-13.4.0.pre.alpha.PLAY973Hash1181 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.4.0.pre.alpha.PLAY973Hash1181 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui_docs-13.4.0.pre.alpha.play961turnoffdeprecationwarnings1171 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.4.0.pre.alpha.play961turnoffdeprecationwarnings1171 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.4.0 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui_docs-13.3.0 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.3.0 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui_docs-13.2.0.pre.alpha.PLAY986dateTimeRounding1150 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.2.0.pre.alpha.PLAY986dateTimeRounding1150 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.2.0 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.1.0 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui_docs-13.0.0.pre.alpha.PLAY966collapsiblenav41129 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.0.0.pre.alpha.PLAY966collapsiblenav41129 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui_docs-13.0.0.pre.alpha.PLAY966collapsiblenav41128 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.0.0.pre.alpha.PLAY966collapsiblenav41128 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui_docs-13.0.0.pre.alpha.PLAY966collapsiblenav41126 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.0.0.pre.alpha.PLAY966collapsiblenav41126 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui_docs-13.0.0.pre.alpha.salesbookmismatchingdate1120 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui-13.0.0.pre.alpha.salesbookmismatchingdate1120 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
playbook_ui_docs-12.39.0.pre.alpha.salesbookmismatchingdate1117 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx