gcg-website/static/admin/previews/field-previews/boolean-preview.js
2023-05-29 16:22:34 +02:00

7 lines
145 B
JavaScript

const BooleanPreview = ({ value }) =>
h("i", {
className: value ? "mdi mdi-check" : "mdi mdi-close",
});
export default BooleanPreview;