UNPKG

@coreui/react

Version:

UI Components Library for React.js

19 lines (18 loc) 599 B
import React, { HTMLAttributes } from 'react'; export interface CToastHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> { /** * Sets the `aria-label` of the close button. * * @since 5.13.0 */ ariaCloseLabel?: string; /** * A string of all className you want applied to the base component. */ className?: string; /** * Automatically add a close button to the header. */ closeButton?: boolean; } export declare const CToastHeader: React.ForwardRefExoticComponent<CToastHeaderProps & React.RefAttributes<HTMLDivElement>>;