feat(editor): Tooltip support multiple fineTypes (#28)

This commit is contained in:
Eric Tuvesson
2024-05-31 08:58:17 +02:00
committed by GitHub
parent 8e16d5f9d4
commit 1a048587d9
2 changed files with 16 additions and 5 deletions

View File

@@ -123,7 +123,10 @@ export function CloudServiceCard({
{isEditorEnvironment && (
<Tooltip
content="Open the Parse Dashboard"
fineType={`${Keybindings.CLOUD_SERVICE_OPEN_DASHBOARD.label} in window or ${Keybindings.CLOUD_SERVICE_OPEN_DASHBOARD_BROWSER.label} to open in browsers`}
fineType={[
`In Window: ${Keybindings.CLOUD_SERVICE_OPEN_DASHBOARD.label}`,
`In Browser: ${Keybindings.CLOUD_SERVICE_OPEN_DASHBOARD_BROWSER.label}`
]}
renderDirection={DialogRenderDirection.Below}
>
<PrimaryButton