Properties

insertIndex

Where to add new files, defaults to index 0

insertIndex?: number

sourceLabel

Label to use for source button, defaults to undefined

sourceLabel?: string

sourceIcon

Icon to use for source button, defaults to undefined

sourceIcon?: string

sourceIconError

Icon to use for source button when source in error state, defaults to undefined

sourceIconError?: string

sourceType

The type of source

sourceType?: string

sourceElement

The element to add

sourceElement?: HTMLElement

inputAttributes

Name to use for getting input element value

inputAttributes?: { [key: string]: string | number | boolean; }

beforeInsertSource

Hook into submit

beforeInsertSource?: (src: EntrySource, props: any) => EntrySource | false | undefined | null