mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-19 16:08:39 -05:00
12 lines
212 B
JavaScript
12 lines
212 B
JavaScript
export const createHeaderFactory = (getCellSx = () => {}) => {
|
|
return ({ id, content, onClick = () => {}, render = () => {} }) => {
|
|
return {
|
|
id,
|
|
content,
|
|
onClick,
|
|
getCellSx,
|
|
render,
|
|
};
|
|
};
|
|
};
|