@props({"headers": [], "rows": [], "caption": "", "striped": False}) {# PyBlade UI: Table. headers: a list of strings; rows: a list of lists, one cell each. The slot, if any, is written after the rows: a , for instance. https://ui.pyblade.com/components/table #}
@if(caption)@endif @for(header in headers)@endfor @for(row in rows) @for(cell in row)@endfor @endfor {{ slot }}
{{ caption }}
{{ header }}
{{ cell }}