MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / FieldsEditor

Function FieldsEditor

app/src/components/fieldsEditor.tsx:16–30  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

14 noteCard?: NoteCardView
15 }>
16}> = (props) => {
17 return (
18 <Entries of={props.noteCard.note.fieldValues}>
19 {(field, value) => (
20 <FieldValue
21 css={props.noteCard.template.css}
22 setNoteCard={props.setNoteCard}
23 field={field}
24 value={value()}
25 noteId={props.noteCard.note.id}
26 />
27 )}
28 </Entries>
29 )
30}
31
32const FieldValue: VoidComponent<{
33 field: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected