Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
425 Bytes
// @flow
import * as React from "react";
import cn from "classnames";
type Props = {|
+children?: React.Node,
+className?: string,
+color: string,
|};
function CardAlert({ className, children, color }: Props): React.Node {
const classes = cn(`card-alert alert alert-${color} mb-0`, className);
return <div className={classes}>{children}</div>;
}
CardAlert.displayName = "Card.Alert";
export default CardAlert;