@coreui/react
Version:
UI Components Library for React.js
23 lines (22 loc) • 641 B
TypeScript
import React, { HTMLAttributes } from 'react';
export interface CCloseButtonProps extends HTMLAttributes<HTMLButtonElement> {
/**
* A string of all className you want applied to the base component.
*/
className?: string;
/**
* Invert the default color.
*/
dark?: boolean;
/**
* Toggle the disabled state for the component.
*/
disabled?: boolean;
/**
* Change the default color to white.
*
* @deprecated 5.0.0
*/
white?: boolean;
}
export declare const CCloseButton: React.ForwardRefExoticComponent<CCloseButtonProps & React.RefAttributes<HTMLButtonElement>>;