Sha256: 592b6704c719ae087ba6f45e5e96bf979bd3587cbae4d116a261d664c1da731d

Contents?: true

Size: 1.66 KB

Versions: 112

Compression:

Stored size: 1.66 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>
            {' '}
            <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>
            {' '}
            <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>
            {' '}
            <Button
                onClick={() => alert('button clicked!')}
                text="Action"
                variant="secondary"
                {...props}
            />
            {' '}
          </td>
        </tr>
      </tbody>
    </Table>
  )
}

export default TableOneAction

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
playbook_ui-11.7.0.pre.alpha.table1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.7.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.6.0.pre.alpha.fontawesome app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.5.0.pre.alpha.fontawesome app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.7.0.pre.alpha.pre.guagechart1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.6.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.5.0.pre.alpha.datepicker1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.6.0.pre.alpha.rubocopperf1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.6.1.pre.alpha.rubocop.pre.performance1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.5.0.pre.alpha.pre.rubocop app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.6.0.pre.alpha.momenttz1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.5.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.4.0.pre.alpha.rubytheme2 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.4.0.pre.alpha.rubytheme1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.4.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.3.0.pre.alpha2 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.3.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.3.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.2.7 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-11.2.6 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx