import React from 'react'; const JtlRenderer = (params) => { const hasJTL = params.value; // Handle undefined state (database unavailable) if (hasJTL === undefined) { return (
?
); } const backgroundColor = hasJTL ? '#388e3c' : '#f5f5f5'; const border = hasJTL ? 'none' : '1px solid #ccc'; return (
{hasJTL && '✓'}
); }; export default JtlRenderer;