payload icon indicating copy to clipboard operation
payload copied to clipboard

Incorrectly typed/exported CellComponentProps?

Open franciscolourenco opened this issue 2 years ago • 0 comments

Link to reproduction

https://github.com/payloadcms/payload/compare/main...franciscolourenco:payload:reproduce-cellcomponentprops

Describe the Bug

The CellComponentProps exported in payload/types doesn't match the props passed to custom cell components.

The props passed to custom cell components are actually the ones defined in Props.

Relevant docs

To Reproduce

Have a look at the TS error in: https://github.com/payloadcms/payload/compare/main...franciscolourenco:payload:reproduce-cellcomponentprops

Payload Version

2.12.1

Adapters and Plugins

No response

franciscolourenco avatar Apr 19 '24 15:04 franciscolourenco