new SettingField( name, note, onChange, settingtype [, props ] )

Description

Setting field to extend to create new settings

Parameters
Name Type Attributes Description
name string

name label of the setting

note string

help/note to show underneath or above the setting

onChange callable

callback to perform on setting change

settingtype ReactComponent | HTMLElement

actual setting to render

props object <optional>

object of props to give to the setting and the settingtype

Name Type Attributes Default Description
noteOnTop boolean <optional>
false

determines if the note should be shown above the element or not.