Sha256: 302b5124234b65fc5527ef624741eecb61687bf87f9e1c85a7c1cc4406dae1a9

Contents?: true

Size: 1.52 KB

Versions: 94

Compression:

Stored size: 1.52 KB

Contents

import React from 'react'
import { Table } from '../../'

const TableSingleLine = (props) => {
  return (
    <Table
        singleLine
        size="sm"
        {...props}
    >
      <thead>
        <tr>
          <th>{'Column 1'}</th>
          <th>{'Column 2'}</th>
          <th>{'Column 3'}</th>
          <th>{'Column 4'}</th>
          <th>{'Column 5'}</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>
            {'Value 1'}
            <br />
            {'Value 1'}
            <br />
            {'Value 1'}
          </td>
          <td>{'Value 2'}</td>
          <td>
            {'Value 3'}
            <br />
            {'Value 3'}
          </td>
          <td>{'Value 4'}</td>
          <td>{'Value 5'}</td>
        </tr>
        <tr>
          <td>
            {'Value 1'}
            <br />
            {'Value 1'}
            <br />
            {'Value 1'}
          </td>
          <td>{'Value 2'}</td>
          <td>
            {'Value 3'}
            <br />
            {'Value 3'}
          </td>
          <td>{'Value 4'}</td>
          <td>{'Value 5'}</td>
        </tr>
        <tr>
          <td>
            {'Value 1'}
            <br />
            {'Value 1'}
            <br />
            {'Value 1'}
          </td>
          <td>{'Value 2'}</td>
          <td>
            {'Value 3'}
            <br />
            {'Value 3'}
          </td>
          <td>{'Value 4'}</td>
          <td>{'Value 5'}</td>
        </tr>
      </tbody>
    </Table>
  )
}

export default TableSingleLine

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
playbook_ui-7.16.0.pre.alpha5 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.16.0.pre.alpha4 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.16.0.pre.alpha3 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.16.0.pre.alpha2 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.16.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.14.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.16.0 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.15.1 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.15.0 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.14.0 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.13.0 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.12.1 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx
playbook_ui-7.12.0 app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx