@websolutespa/payload-plugin-bowl
Version:
Bowl PayloadCms plugin of the BOM Repository
19 lines (18 loc) • 471 B
JavaScript
'use client';
import { jsx as _jsx } from "react/jsx-runtime";
// import {DefaultServerCellComponentProps} from 'payload';
import React from 'react';
import './styles.scss';
export const ColorCell = (props)=>{
const { cellData } = props;
if (!cellData) {
return null;
}
return /*#__PURE__*/ _jsx("div", {
className: 'chip',
style: {
backgroundColor: cellData
}
});
};
//# sourceMappingURL=ColorCell.js.map