MCPcopy Index your code
hub / github.com/TanStack/table / renderSubComponent

Function renderSubComponent

examples/react/sub-components/src/main.tsx:180–186  ·  view source on GitHub ↗
({ row }: { row: Row<Person> })

Source from the content-addressed store, hash-verified

178}
179
180const renderSubComponent = ({ row }: { row: Row<Person> }) => {
181 return (
182 <pre style={{ fontSize: '10px' }}>
183 <code>{JSON.stringify(row.original, null, 2)}</code>
184 </pre>
185 )
186}
187
188function App() {
189 const [data] = React.useState(() => makeData(10))

Callers 1

TableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected