import React from 'react'; type Concrete = { [Property in keyof Type]-?: Type[Property]; }; type Handlers = Concrete< Omit< React.DOMAttributes, 'children' | 'dangerouslySetInnerHTML' > >; type OnHandlers = Partial< { [Property in keyof Handlers]: ( event: Parameters[0], rowData: Type ) => void; } >; export type { OnHandlers };