mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 04:14:29 -07:00
Add scopes
This commit is contained in:
18
docs/_react/bulma-customizer/src/pages/Box.jsx
Normal file
18
docs/_react/bulma-customizer/src/pages/Box.jsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import VarItem from "../components/VarItem";
|
||||
import { CSSVAR_KEYS } from "../constants";
|
||||
|
||||
function Box() {
|
||||
const ids = CSSVAR_KEYS.box.map((i) => i.id);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="box">I am in a box</div>
|
||||
|
||||
{ids.map((id) => {
|
||||
return <VarItem key={id} id={id} />;
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Box;
|
||||
16
docs/_react/bulma-customizer/src/pages/Skeleton.jsx
Normal file
16
docs/_react/bulma-customizer/src/pages/Skeleton.jsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import VarItem from "../components/VarItem";
|
||||
import { CSSVAR_KEYS } from "../constants";
|
||||
|
||||
function Skeleton() {
|
||||
const ids = CSSVAR_KEYS.skeleton.map((i) => i.id);
|
||||
|
||||
return (
|
||||
<div>
|
||||
{ids.map((id) => {
|
||||
return <VarItem key={id} id={id} />;
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Skeleton;
|
||||
Reference in New Issue
Block a user