/// import { Cell, Default, handler, recipe, UI } from "commontools"; interface Item { text: Default; } interface InputSchema { items: Default; } const removeItem = handler; index: number }>( (_, _2) => { // Not relevant for repro }, ); export default recipe( "Simple List with Remove", ({ items }) => { return { [UI]: (
    {items.map((_, index) => (
  • Remove
  • ))}
), }; }, );