Forum - add table-striped to a listview within a table

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #34737
    Anonymous
    Inactive

    Hello,

    Is it possible to add the class=”table table-striped table-bordered” (from bootstrap) to a Table? I want to show a Listview within the table.

    here is a sample of the code:

    <Table className=”table table-striped table-bordered”>
    <TableBody>
    <Listview formatted items={news} itemFactory={(news)=>{

    return(
    <Item>
    <Link href={“/selectednews/” + news.text + “/” + news.information + “/” + news.author + “/” + news.content}>
    <h4>{news.text}</h4>
    </Link>
    </Item>
    );
    }}/>
    </TableBody>
    </Table>

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.