// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import React, { FC } from 'react'; import { BaseProps } from '../Base'; import { StyledBadge } from './Styled'; export interface BadgeProps extends BaseProps { /** The value shows in the badge*/ value: string | number | JSX.Element; /** The status of the badge */ status?: 'default' | 'alert'; } export const Badge: FC> = ({ value, status = 'default', className, tag, ...rest }) => { return ( {value} ); }; export default Badge;