package ui

type TableProps struct {
	Head templ.Component
	Body templ.Component
}

templ Table(props TableProps) {
	<div class="ui-table-shell">
		<table class="ui-table">
			<thead>
				if props.Head != nil {
					@props.Head
				}
			</thead>
			<tbody>
				if props.Body != nil {
					@props.Body
				}
			</tbody>
		</table>
	</div>
}
