mirror of
https://github.com/jgthms/bulma
synced 2026-03-19 20:04:30 -07:00
Add Scheme vars
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import Slider from "../components/Slider";
|
||||
import VarItem from "../components/VarItem";
|
||||
import { CSSVAR_KEYS } from "../constants";
|
||||
|
||||
function Scheme() {
|
||||
const schemeIds = CSSVAR_KEYS.scheme;
|
||||
const schemeIds = CSSVAR_KEYS.scheme.map((i) => i.id);
|
||||
|
||||
return (
|
||||
<div>
|
||||
{schemeIds.map((schemeId) => {
|
||||
return <Slider key={schemeId} id={schemeId} />;
|
||||
return <VarItem key={schemeId} id={schemeId} />;
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user