@coreui/react
Version:
UI Components Library for React.js
14 lines (13 loc) • 607 B
TypeScript
import { ElementType } from 'react';
import { CButtonProps } from '../button/CButton';
import { CCloseButtonProps } from '../close-button/CCloseButton';
import { PolymorphicRefForwardingComponent } from '../../helpers';
type CombineButtonProps = CCloseButtonProps & CButtonProps;
export interface CToastCloseProps extends Omit<CombineButtonProps, 'as'> {
/**
* 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>;
export {};