/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import { SpaceBetween } from '@awsui/components-react'; // Attribute Display message content const TextAttribute = (props) => { return
{props.name}
{typeof props.value === 'string' || props.value instanceof String ? {props.value} : {JSON.stringify(props.value)} }
; }; export default TextAttribute;