Files
bulma/docs/_react/bulma-customizer/src/pages/Scheme.jsx

19 lines
395 B
React
Raw Normal View History

2024-06-25 23:12:07 +01:00
import VarItem from "../components/VarItem";
2024-06-25 22:20:37 +01:00
import { CSSVAR_KEYS } from "../constants";
2024-06-26 20:00:17 +01:00
import cn from "root/App.module.css";
2024-06-25 22:20:37 +01:00
function Scheme() {
2024-06-25 23:12:07 +01:00
const schemeIds = CSSVAR_KEYS.scheme.map((i) => i.id);
2024-06-25 22:20:37 +01:00
return (
2024-06-26 20:00:17 +01:00
<div className={cn.items}>
2024-06-25 22:20:37 +01:00
{schemeIds.map((schemeId) => {
2024-06-25 23:12:07 +01:00
return <VarItem key={schemeId} id={schemeId} />;
2024-06-25 22:20:37 +01:00
})}
</div>
);
}
export default Scheme;