import React, { ElementRef, forwardRef } from "react" import { IconComponent, IconProps } from "../../icons" import { classNames } from "../../utils" import { Flex, FlexProps } from "../Flex" import { FlexColumn, FlexColumnProps } from "../FlexColumn" import { Text, TextBodyProps } from "../Text" export type AlertProps = FlexProps const AlertBase = forwardRef, AlertProps>( function Alert({ className, ...rest }, ref) { return ( ) }, ) export const AlertIcon = ({ value: IconComponent, ...rest }: IconProps & { value: IconComponent }) => { return } export const AlertContent = forwardRef< ElementRef, FlexColumnProps >(function AlertContent({ className, ...rest }, ref) { return ( ) }) export const AlertTitle = forwardRef, TextBodyProps>( function AlertTitle({ weight = "semibold", ...rest }, ref) { return }, ) export const AlertDescription = forwardRef< ElementRef, TextBodyProps >(function AlertDescription(props, ref) { return }) /** * Displays a callout for user attention. */ export const Alert = Object.assign(AlertBase, { Icon: AlertIcon, Content: AlertContent, Title: AlertTitle, Body: AlertDescription, })