string
typetype StringField = {label: stringname: stringtype: 'string'list?: booleanoptions?: (string | { value: string; label: string })[]/** Represents the "body" of a markdown file **/isBody?: boolean/** See https://tina.io/docs/extending-tina/overview/ for customizing the UI **/ui?: {label?: stringdescription?: stringcomponent?: FC<any> | string | nullparse?: (value: string | string[], name: string, field: F) => anyformat?: (value: string | string[], name: string, field: F) => any// Note: defaultItem can only can be used when {list: true}defaultItem?: () => string | stringvalidate?(// string or string[] depends on list true or falsevalue: string | string[],allValues: any,meta: any,field: UIField<F, Shape>): string | undefined | void}}
Tina will generate the appropriate component depending on the configuration provided.
{type: 'string',name: 'title',label: 'Title'}
Last Edited: July 27, 2021