Aurora Admin v1.2.0: 79 components x 5 ends, doc site, contracts batch 1, playground, regression, deploy ready

This commit is contained in:
aurora-admin
2026-09-10 19:21:56 +08:00
commit 51ce3a28f7
654 changed files with 49082 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
import React from 'react';
import './FixedColumnTable.css';
function fixCls(c) {
return c.fixed ? 'aa-fixed aa-fixed-' + c.fixed : '';
}
export default function FixedColumnTable({ data = [], columns = [] }) {
return (
<div className="aa-fixtable-wrap">
<table className="aa-fixtable">
<thead>
<tr>
{columns.map((c) => (
<th key={c.key} className={fixCls(c)} style={{ minWidth: c.w + 'px' }}>
{c.title}
</th>
))}
</tr>
</thead>
<tbody>
{data.map((row, i) => (
<tr key={i}>
{columns.map((c) => (
<td key={c.key} className={fixCls(c)} style={{ minWidth: c.w + 'px' }}>
{row[c.key]}
</td>
))}
</tr>
))}
</tbody>
</table>
</div>
);
}