Sha256: 818e144765c53a39af3f79319b9f0b3aa67a0b5324cbe53abda35c6eeddf82a1

Contents?: true

Size: 1.31 KB

Versions: 6

Compression:

Stored size: 1.31 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="up">
          <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

6 entries across 6 versions & 1 rubygems

Version Path
playbook_ui-7.9.0 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
playbook_ui-7.8.4 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
playbook_ui-7.8.3 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
playbook_ui-7.8.2 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
playbook_ui-7.8.1 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
playbook_ui-7.8.0 app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx