Sha256: 64fd3fa4c1b9a087c51b661f6853e9fedc6591f7f64f3fd0307a21e89be52905

Contents?: true

Size: 1.31 KB

Versions: 164

Compression:

Stored size: 1.31 KB

Contents

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

const TableResponsiveTable = () => {
  return (
    <div>
      <Title
          size={4}
          text="Default"
      />
      <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 1'}</td>
            <td>{'Value 2'}</td>
            <td>{'Value 3'}</td>
            <td>{'Value 4'}</td>
            <td>{'Value 5'}</td>
          </tr>
        </tbody>
      </Table>
      <br />
      <br />
      <Title
          size={4}
          text="Default"
      />
      <Table responsive="none">
        <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'}</td>
            <td>{'Value 2'}</td>
            <td>{'Value 3'}</td>
            <td>{'Value 4'}</td>
            <td>{'Value 5'}</td>
          </tr>
        </tbody>
      </Table>
    </div>
  )
}

export default TableResponsiveTable

Version data entries

164 entries across 164 versions & 1 rubygems

Version Path
playbook_ui-7.11.1 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.11.0 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.10.0 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.9.0 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.8.4 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.8.3 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.8.2 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.8.1 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.8.0 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.7.0 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.6.2 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.6.1 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.6.0 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.5.1 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.5.0 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
playbook_ui-7.4.2 app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx