// Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import React from 'react'; import { SmallText, StyledCard } from './Styled'; interface CardProps extends React.HTMLAttributes { header?: string; title: string; description: any; smallText?: string; } const Popup: React.FC = ({ header, title, description, smallText }: CardProps) => ( {header &&
{header}
}
{title}
{description}
{smallText && {smallText}}
); export default Popup;