Optional
autoQuery selector for the element to focus on show.
It would be better to honor autoFocus attribute but React is 'hiding' it
Optional
cancelAllows for the cancel option to be specified. Allow for special styling.
'Cancel'
Optional
createHook for create custom options buttons
The option is passed as the children
prop and as the second argument
Optional
defaultAllows for the option will be the default selected option and the enter key trigger.
The first option
Optional
descriptionDisplay text information for the user to make a decision.
Optional
iconDisplay an icon next to the description for additional context
Not yet implemented
Optional
initialA default position for the window. The default is center at %50, %50.
Optional
initialOptional
inputOptional
inputOptional
inputCss style for input
Optional
isIf true this will show a backdrop
Our floating menu achieve modality without a background by listens to global clicks (and focus)
false
Optional
onOptional
onOptional
results: anyOptional
onOptional
onOptional
input: stringOptional
option: stringOptional
onCall when an option is selected.
It is possible that the option can be both a cancel and a default option.
Optional
onOptional
onCall when an option is selected. If false is returned, the the dialog will not close. Notification is not provided but can be supplied via the textFieldProps helperText property.
Optional
input: stringOptional
option: stringOptional the textProps can be updated via the textFieldProps argument
Optional
onCall when an option is selected. If false is returned, the the dialog will not close. Notification is not provided but can be supplied via the textFieldProps helperText property.
Optional
option: stringOptional
openOptional
optionsThe options as a list of strings
Optional
refWe couldn't use the forwardRef? Revisit this. It seemed to be due to the createPortal returns a ReactPortal not an HTMLElement
Optional
titleThe title of the options panel
Configuration for an options dialog.