|
|
@ -29,14 +29,11 @@ const hasChildCell = (children: ReactNode): boolean => { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const traverse = (child: ReactNode) => { |
|
|
|
const traverse = (child: ReactNode) => { |
|
|
|
console.log('found ', children) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (found) return |
|
|
|
if (found) return |
|
|
|
|
|
|
|
|
|
|
|
if (isElement(child)) { |
|
|
|
if (isElement(child)) { |
|
|
|
if (child.props.classList === 'EECellStyle') { |
|
|
|
if (child.props.classList === 'EECellStyle') { |
|
|
|
found = true |
|
|
|
found = true |
|
|
|
console.log('found ', child.props.className) |
|
|
|
|
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|