/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import {HelpPanel, Link, SpaceBetween} from "@awsui/components-react"; import React from "react"; const ToolHelp = ({helpContent}) => { if (helpContent) { return {helpContent.header}} footer={ helpContent.content_links ?

Learn more

{helpContent.content_links ? helpContent.content_links.map(item => { return ( {item['key']} ) } ) : undefined}
: undefined } > {helpContent.content_html ?
')}}/> : undefined} {helpContent.content_text ? helpContent.content_text.replaceAll('\n', '
') : undefined} {helpContent.content_md ? helpContent.content_md : undefined} } else { return null } }; export default ToolHelp;