Sha256: 392b0bc88be1f7ad2734d0a377c018cd32674b32b49b1f4f195d93ce53d13de0

Contents?: true

Size: 1.7 KB

Versions: 1807

Compression:

Stored size: 1.7 KB

Contents

import React from 'react'

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

const TableOneAction = (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>{''}</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>{'Value 1'}</td>
          <td>{'Value 2'}</td>
          <td>{'Value 3'}</td>
          <td>{'Value 4'}</td>
          <td align="right">
            {' '}
            <Button
                onClick={() => alert('button clicked!')}
                text="Action"
                variant="secondary"
                {...props}
            />
            {' '}
          </td>
        </tr>
        <tr>
          <td>{'Value 1'}</td>
          <td>{'Value 2'}</td>
          <td>{'Value 3'}</td>
          <td>{'Value 4'}</td>
          <td align="right">
            {' '}
            <Button
                onClick={() => alert('button clicked!')}
                text="Action"
                variant="secondary"
                {...props}
            />
            {' '}
          </td>
        </tr>
        <tr>
          <td>{'Value 1'}</td>
          <td>{'Value 2'}</td>
          <td>{'Value 3'}</td>
          <td>{'Value 4'}</td>
          <td align="right">
            {' '}
            <Button
                onClick={() => alert('button clicked!')}
                text="Action"
                variant="secondary"
                {...props}
            />
            {' '}
          </td>
        </tr>
      </tbody>
    </Table>
  )
}

export default TableOneAction

Version data entries

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

Version Path
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease293 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease292 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease291 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.7.1.pre.alpha.alpharubyrelease281 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.7.1.pre.alpha.menu2 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.7.1.pre.alpha.menu1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.7.1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.7.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.6.0.pre.alpha.sectionseparator1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.6.0.pre.alpha.menuyml1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.6.0.pre.alpha.collapsible1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.6.0.pre.alpha.cssphone1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.6.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.5.0.pre.alpha.datepickerinput1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.5.0.pre.alpha.phonerails1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.5.0.pre.alpha.datepicker1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.5.0.pre.alpha.filter1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.5.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.4.0.pre.alpha.map1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-12.4.0.pre.alpha.devdocstest1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx