Sha256: afcead0d2ae9cef8431fb752f9c79608aa23886d2e35fc509f428fba58f27e0f

Contents?: true

Size: 1.32 KB

Versions: 4

Compression:

Stored size: 1.32 KB

Contents

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

const TableAlignmentShiftRow = () => {
  return (
    <Table>
      <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 1a'}
            <br />
            {'Value 1a'}
            <br />
            {'Value 1a'}
          </td>
          <td>{'Value 2a'}</td>
          <td>{'Value 3a'}</td>
          <td>{'Value 4a'}</td>
          <td>{'Value 5a'}</td>
        </tr>
        <tr shift="middle">
          <td>
            {'Value 1b'}
            <br />
            {'Value 1b'}
            <br />
            {'Value 1b'}
          </td>
          <td>{'Value 2b'}</td>
          <td>{'Value 3b'}</td>
          <td>{'Value 4b'}</td>
          <td>{'Value 5b'}</td>
        </tr>
        <tr shift="down">
          <td>
            {'Value 1c'}
            <br />
            {'Value 1c'}
            <br />
            {'Value 1c'}
          </td>
          <td>{'Value 2c'}</td>
          <td>{'Value 3c'}</td>
          <td>{'Value 4c'}</td>
          <td>{'Value 5c'}</td>
        </tr>
      </tbody>
    </Table>
  )
}

export default TableAlignmentShiftRow

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
playbook_ui-7.11.1 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
playbook_ui-7.11.0 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
playbook_ui-7.10.0 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx