You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<TopicMapComponentmaxZoom={22}gazData={gazData}gazetteerSearchControlProps={{tertiaryAction: ()=>{console.log("Tertiary Action");window.alert("Tertiary Action");},tertiaryActionIcon: faComment,tertiaryActionTooltip: "Tertiary Action Tooltip",teriaryActionDisabled: undefined,//defaultValue is false, therefore typically not needed}}></TopicMapComponent>
or directly in GazetteerSearchControl (or GazeteerSearchComponent with
tertiaryAction={()=>{console.log("Tertiary Action");window.alert("Tertiary Action");}}tertiaryActionIcon={faComment}tertiaryActionTooltip="Tertiary Action Tooltip"
teriaryActionDisabled: {undefined}//defaultValue is false, therefore typically not needed
The tertiary action should kick in when the clear button on the left is disabled anyway.
We can use it to switch to another gazetteer control for example. (Or for activating the often mentioned speech recognition 😉 )
The text was updated successfully, but these errors were encountered: