use-theme-editor
Version:
Zero configuration CSS variables based theme editor
21 lines (19 loc) • 531 B
JavaScript
import React from 'react';
import { use } from "../../state";
import { Checkbox } from "../controls/Checkbox";
export function InformationVisibilitySettings() {
return <div style={{ display: 'flex', gap: '4px' }}>
<Checkbox
id={'show-css-properties'}
controls={use.showCssProperties()}
>
Show CSS properties
</Checkbox>
<Checkbox
id={'show-source-links'}
controls={use.showSourceLinks()}
>
Show source links
</Checkbox>
</div>;
}