mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
1e4832a6d0
* demo: refactor docs * demo: refactor docs * demo: refactor docs * demo: refactor docs
1.6 KiB
1.6 KiB
Table
view! {
<Table>
<thead>
<tr>
<th>"tag"</th>
<th>"count"</th>
<th>"date"</th>
</tr>
</thead>
<tbody>
<tr>
<td>"div"</td>
<td>"2"</td>
<td>"2023-10-08"</td>
</tr>
<tr>
<td>"span"</td>
<td>"2"</td>
<td>"2023-10-08"</td>
</tr>
</tbody>
</Table>
}
Table Props
Name | Type | Default | Description |
---|---|---|---|
class | MaybeSignal<String> |
Default::default() |
Addtional classes for the table element. |
style | MaybeSignal<String> |
Default::default() |
Table's style. |
single_row | RwSignal<bool> |
true |
Whether columns are not divided. If the prop is true, table cell has no border-right. |
single_column | RwSignal<bool> |
false |
Whether rows are not divided. If the prop is true, table cell has no border-bottom. |
children | Children |
Table's content. |