Sha256: f7b1ff0afa2caace9472c16e7bb310ee4b877e0d88e1807fa813dbd32194397c
Contents?: true
Size: 1.53 KB
Versions: 50
Compression:
Stored size: 1.53 KB
Contents
import React from 'react' import { Table } from '../..' import { Button } from '../../' const TableOneAction = () => { return ( <Table size="sm"> <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" /> {' '} </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" /> {' '} </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" /> {' '} </td> </tr> </tbody> </Table> ) } export default TableOneAction
Version data entries
50 entries across 50 versions & 1 rubygems