Function: DialogButton

DialogButton(props): ReactNode

Use this primitive to create a toolbar button that opens a dialog with a text input, autocomplete suggestions, and a submit button.

Parameters

NameType
props{ autocompleteSuggestions?: string[] ; buttonContent?: ReactNode ; dialogInputPlaceholder: string ; onSubmit: (value: string) => void ; submitButtonTitle: string ; tooltipTitle: string } & RefAttributes<HTMLButtonElement>

Returns

ReactNode