Sha256: 4fb8f51ff101f4ad1d4cc4b955eae848725baddf26d1f0f4744b455019c1c67e

Contents?: true

Size: 1.65 KB

Versions: 94

Compression:

Stored size: 1.65 KB

Contents

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

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

94 entries across 94 versions & 1 rubygems

Version Path
playbook_ui-9.3.0.alpha.inline2 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-9.3.0.alpha.inline1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-9.3.0.pre.alpha.password.strength.1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-9.3.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-9.2.2.pre.alpha.margin app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-9.2.2 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-9.2.1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-9.2.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-9.1.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-9.0.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.3.0.alpha.select.pre.margin app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.3.0 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.2.1.pre.alpha5 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.2.1.pre.alpha4 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.2.1.alpha.iconacc app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.2.1.pre.alpha3 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.2.1.pre.alpha2 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.3.0.deps2 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.3.0.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
playbook_ui-8.2.1.pre.alpha1 app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx