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
+23
View File
@@ -0,0 +1,23 @@
import React from 'react';
import './RadioCard.css';
export default function RadioCard({ options = [], value, cols = 3, onChange }) {
return (
<div className="aa-radiocard-grid" style={{ gridTemplateColumns: `repeat(${cols}, 1fr)` }}>
{options.map((o, i) => (
<div
key={i}
className={'aa-radiocard' + (value === o.value ? ' is-selected' : '')}
onClick={() => onChange && onChange(o.value)}
>
{o.icon ? <div className="aa-radiocard-icon">{o.icon}</div> : null}
<div className="aa-radiocard-body">
<div className="aa-radiocard-title">{o.label}</div>
{o.desc ? <div className="aa-radiocard-desc">{o.desc}</div> : null}
</div>
<div className="aa-radiocard-mark" />
</div>
))}
</div>
);
}