mirror of
https://github.com/inttter/md-badges.git
synced 2026-05-06 10:26:57 +02:00
- Added package.json for project dependencies and scripts. - Created Vite logo SVG file. - Added global styles in index.css. - Implemented main application structure in App.jsx. - Created BadgeRow component for displaying individual badges. - Developed Section component to organize badge lists. - Implemented VirtualBadgeList for efficient rendering of badges. - Added WASM integration for parsing README files. - Configured Vite for the project.
15 lines
378 B
JavaScript
15 lines
378 B
JavaScript
import BadgeList from './VirtualBadgeList'
|
|
|
|
export default function Section({ section, selected, toggle }) {
|
|
return (
|
|
<section style={{ marginBottom: 32 }}>
|
|
<h3>{section.title}</h3>
|
|
|
|
<BadgeList
|
|
items={section.items}
|
|
selected={selected}
|
|
toggle={toggle}
|
|
/>
|
|
</section>
|
|
)
|
|
}
|