import * as React from "react" ; import { Utils } from "../../utils/Utils" ; param alertText export function AccessibilityAlert ( props ) { return ( ! Utils . isEmptyString ( props . alertText ) && < div role = "alert" aria - label = { props . alertText } />); }