{
264 | if (el) rowRefs.current.set(virtualRow.index, el);
265 | }}
266 | onContextMenu={(e) =>
267 | handleContextMenu(e, { token, index: virtualRow.index })
268 | }
269 | style={{
270 | position: "absolute",
271 | top: 0,
272 | left: 0,
273 | width: "100%",
274 | height: `${virtualRow.size}px`,
275 | transform: `translateY(${
276 | virtualRow.start +
277 | (theadRef.current?.getBoundingClientRect().height || 0)
278 | }px)`,
279 | }}
280 | >
281 | |
282 |
283 | {token.name}
284 |
285 | }
288 | >
289 |
292 |
293 |
294 | }
295 | value={token.name}
296 | />
297 |
298 |
299 | {token.description && (
300 | }
302 | >
303 |
304 |
305 |
306 |
307 | )}
308 |
309 | |
310 | {showValueColumn && (
311 |
312 | {
315 | setTokenValueOverwrites((tokenValueOverwrites) => ({
316 | ...tokenValueOverwrites,
317 | [token.name]:
318 | newValue === token.rawValue ? undefined : newValue,
319 | }));
320 | }}
321 | readonly={readonly}
322 | token={token}
323 | />
324 | |
325 | )}
326 |
327 |
334 | |
335 |
336 | );
337 | })}
338 |