@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
9 lines (8 loc) • 332 B
TypeScript
import React from 'react';
import { BaseComponentProps } from '../internal/base-component';
export interface BadgeProps extends BaseComponentProps {
color?: 'blue' | 'grey' | 'green' | 'red';
children?: React.ReactNode;
}
declare const Badge: ({ color, children, ...rest }: BadgeProps) => JSX.Element;
export default Badge;