mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
code: tsx,storybook,stories (1 files)
This commit is contained in:
@@ -57,12 +57,12 @@ function PackageExplorer() {
|
||||
<button
|
||||
key={pkg.id}
|
||||
className={`button ${pkg.id}_button`}
|
||||
onClick={() => setSelectedLevel(pkg.level)}
|
||||
onClick={() => setSelectedPkg(pkg.id)}
|
||||
style={{
|
||||
width: '100%',
|
||||
marginBottom: '0.5rem',
|
||||
textAlign: 'left',
|
||||
opacity: selectedLevel === pkg.level ? 1 : 0.7,
|
||||
opacity: selectedPkg === pkg.id ? 1 : 0.7,
|
||||
}}
|
||||
>
|
||||
{pkg.name}
|
||||
|
||||
Reference in New Issue
Block a user