@coreui/react
Version:
UI Components Library for React.js
11 lines (10 loc) • 473 B
TypeScript
import { ElementType } from 'react';
import { CCloseButtonProps } from '../close-button/CCloseButton';
import { PolymorphicRefForwardingComponent } from '../../helpers';
export interface CToastCloseProps extends CCloseButtonProps {
/**
* Component used for the root node. Either a string to use a HTML element or a component.
*/
as?: string | ElementType;
}
export declare const CToastClose: PolymorphicRefForwardingComponent<'button', CToastCloseProps>;