Sha256: 88872dabc6525eab388c5bc897e3979150cef72b493879c92098325f973e6c81

Contents?: true

Size: 1.73 KB

Versions: 1028

Compression:

Stored size: 1.73 KB

Contents

import React from 'react'

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

const TableOuterPadding = (props) => {
  return (
    <Table
        outerPadding="sm"
        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 TableOuterPadding

Version data entries

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

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx