/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ import { FeatureHighlight } from "./FeatureHighlight"; import React, { useCallback } from "react"; export function FollowSectionButtonHighlight({ arrowPosition, dispatch, feature, handleBlock, handleDismiss, messageData, position, verticalPosition, }) { const onDismiss = useCallback(() => { handleDismiss(); handleBlock(); }, [handleDismiss, handleBlock]); return (
{messageData.content.cardTitle}
) : ( )} {messageData.content?.cardMessage ? ({messageData.content.cardMessage}
) : ( )}