(props: {
id?: string;
title: string;
count: number;
columns: number;
hideHeading?: boolean;
children: unknown;
})
| 1231 | } |
| 1232 | |
| 1233 | function TableSection(props: { |
| 1234 | id?: string; |
| 1235 | title: string; |
| 1236 | count: number; |
| 1237 | columns: number; |
| 1238 | hideHeading?: boolean; |
| 1239 | children: unknown; |
| 1240 | }) { |
| 1241 | return ( |
| 1242 | <section class="table-section" id={props.id}> |
| 1243 | {!props.hideHeading && ( |
| 1244 | <div class="section-heading"> |
| 1245 | <h3>{props.title}</h3> |
| 1246 | <span>{formatNumber(props.count)}</span> |
| 1247 | </div> |
| 1248 | )} |
| 1249 | <div class="table-wrap">{props.children}</div> |
| 1250 | <p class="empty-message">No rows match the current search.</p> |
| 1251 | </section> |
| 1252 | ); |
| 1253 | } |
| 1254 | |
| 1255 | function SortableTh(props: { type?: "text" | "number"; children: unknown }) { |
| 1256 | return ( |
nothing calls this directly
no test coverage detected