@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
7 lines (6 loc) • 303 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
function StatusCell({ displayValue, className = '', }) {
const baseClass = 'rounded-full px-4 py-1.5 whitespace-nowrap';
return _jsx("span", { className: `${baseClass} ${className}`.trim(), children: displayValue });
}
export default StatusCell;