Sha256: 4b3c902ecc54a0751df301647624c18159c4595bdf793e5e449dcdc6431e7099

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

import React from "react"
import {Table} from "../../"

function TableMultiline() {
  return (
    <Table size="sm">
      <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`}<br/>{`Value 1`}<br/>{`Value 1`}</td>
          <td>{`Value 2`}</td>
          <td>{`Value 3`}<br/>{`Value 3`}</td>
          <td>{`Value 4`}</td>
          <td>{`Value 5`}</td>
        </tr>
        <tr>
          <td>{`Value 1`}<br/>{`Value 1`}<br/>{`Value 1`}</td>
          <td>{`Value 2`}</td>
          <td>{`Value 3`}<br/>{`Value 3`}</td>
          <td>{`Value 4`}</td>
          <td>{`Value 5`}</td>
        </tr>
        <tr>
          <td>{`Value 1`}<br/>{`Value 1`}<br/>{`Value 1`}</td>
          <td>{`Value 2`}</td>
          <td>{`Value 3`}<br/>{`Value 3`}</td>
          <td>{`Value 4`}</td>
          <td>{`Value 5`}</td>
        </tr>
      </tbody>
    </Table>
  )
}

export default TableMultiline;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playbook_ui-2.9.4 app/pb_kits/playbook/pb_table/docs/_table_multiline.jsx
playbook_ui-2.9.3 app/pb_kits/playbook/pb_table/docs/_table_multiline.jsx
playbook_ui-2.9.2 app/pb_kits/playbook/pb_table/docs/_table_multiline.jsx