Sha256: 20c7d8b1facbfb858ec4a6dafa61ae016a2cbcf7556bb794d377c9e7f8865839

Contents?: true

Size: 1.03 KB

Versions: 10

Compression:

Stored size: 1.03 KB

Contents

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

const TableAlignmentColumn = () => {
  return (
    <Table>
      <thead>
        <tr>
          <th>{'Column 1'}</th>
          <th>{'Column 2'}</th>
          <th>{'Column 3'}</th>
          <th align="center">{'Rating'}</th>
          <th align="right">{'Money'}</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>{'Value 1'}</td>
          <td>{'Value 2'}</td>
          <td>{'Value 3'}</td>
          <td align="center">{'3'}</td>
          <td align="right">{'$57.32'}</td>
        </tr>
        <tr>
          <td>{'Value 1'}</td>
          <td>{'Value 2'}</td>
          <td>{'Value 3'}</td>
          <td align="center">{'2'}</td>
          <td align="right">{'$5,657.08'}</td>
        </tr>
        <tr>
          <td>{'Value 1'}</td>
          <td>{'Value 2'}</td>
          <td>{'Value 3'}</td>
          <td align="center">{'4'}</td>
          <td align="right">{'$358.77'}</td>
        </tr>
      </tbody>
    </Table>
  )
}

export default TableAlignmentColumn

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
playbook_ui-7.11.1 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
playbook_ui-7.11.0 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
playbook_ui-7.10.0 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
playbook_ui-7.9.0 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
playbook_ui-7.8.4 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
playbook_ui-7.8.3 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
playbook_ui-7.8.2 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
playbook_ui-7.8.1 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
playbook_ui-7.8.0 app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx