import React from 'react'; import { type ComposableProps } from '../../../lib/slot'; export interface AlertCloseProps extends ComposableProps<'button'> { /** * Custom close handler (optional, uses Alert's onClose if not provided) */ onClose?: () => void; } /** * AlertClose Component * * A composable component for the close button in an Alert. * Automatically handles close functionality. * * @public * * @example * ```tsx * * * Information * This is an info alert * * * ``` * * @remarks * - Wraps the HTML `