Facebook
From Smelly Treeshrew, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 191
  1. import React from 'react';
  2. import Swal from 'sweetalert2';
  3. import 'react-bulma-components/dist/react-bulma-components.min.css';
  4. import {
  5.         Card
  6. } from 'react-bulma-components';
  7.  
  8. const AssetList = props => {
  9.         return (
  10.                 <Card>
  11.             <Card.Header>
  12.               <Card.Header.Title>Asset List</Card.Header.Title>
  13.             </Card.Header>
  14.             <Card.Content>
  15.               <table className='table is-fullwidth is-bordered is-striped is-hoverable'>
  16.                 <thead>
  17.                   <tr>
  18.                     <th>theading</th>
  19.                     <th>theading</th>
  20.                     <th>Action</th>
  21.                   </tr>
  22.                 </thead>
  23.                 <tbody>
  24.                   <tr>
  25.                     <td>Sample</td>
  26.                     <td>Sample</td>
  27.                     <td>
  28.                       <button className='button is-danger'>Remove</button>
  29.                       &nbsp;
  30.                       <button className='button is-warning'>Update</button>
  31.                       &nbsp;
  32.                       <button className='button is-primary'>View</button>
  33.                     </td>
  34.                   </tr>
  35.                 </tbody>
  36.               </table>
  37.             </Card.Content>
  38.         </Card>
  39.         )
  40. }
  41.  
  42. export default AssetList;