Sha256: b47cb44b187ddfc129cdbd36dedd0afe7618a7e158361b09c84b6ee9dc7b9df4

Contents?: true

Size: 1.71 KB

Versions: 1919

Compression:

Stored size: 1.71 KB

Contents

import React from 'react'

import Table from '../_table'
import Button from '../../pb_button/_button'

const TableActionMiddle = (props) => {
  return (
    <Table
        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'}</td>
          <td>{'Value 2'}</td>
          <td>
            {' '}
            <Button
                onClick={() => alert('button clicked!')}
                paddingLeft="none"
                text="Action"
                variant="link"
                {...props}
            />
          </td>
          <td>{'Value 4'}</td>
          <td>{'Value 5'}</td>
        </tr>
        <tr>
          <td>{'Value 1'}</td>
          <td>{'Value 2'}</td>
          <td>
            {' '}
            <Button
                onClick={() => alert('button clicked!')}
                paddingLeft="none"
                text="Action"
                variant="link"
                {...props}
            />
          </td>
          <td>{'Value 4'}</td>
          <td>{'Value 5'}</td>
        </tr>
        <tr>
          <td>{'Value 1'}</td>
          <td>{'Value 2'}</td>
          <td>
            {' '}
            <Button
                onClick={() => alert('button clicked!')}
                paddingLeft="none"
                text="Action"
                variant="link"
                {...props}
            />
          </td>
          <td>{'Value 4'}</td>
          <td>{'Value 5'}</td>
        </tr>
      </tbody>
    </Table>
  )
}

export default TableActionMiddle

Version data entries

1,919 entries across 1,919 versions & 2 rubygems

Version Path
playbook_ui-10.17.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.16.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.15.1 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.15.1.pre.alpha.rubocop.deps app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.15.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.14.1.pre.alpha2 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.14.1.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.14.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.13.1 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.13.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.13.0.pre.node.update app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.12.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.11.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.10.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.9.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.8.1.pre.alpha.flexdeps app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.9.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.8.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.7.1 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
playbook_ui-10.7.0 app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx