@coreui/react
Version:
UI Components Library for React.js
39 lines (38 loc) • 1.33 kB
TypeScript
import React, { HTMLAttributes, ReactNode } from 'react';
import { CProgressProps } from '../progress/CProgress';
import type { Colors } from '../../types';
export interface CWidgetStatsBProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
/**
* A string of all className you want applied to the base component.
*/
className?: string;
/**
* Sets the color context of the component to one of CoreUI’s themed colors.
*
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
*/
color?: Colors;
/**
* Colors have been inverted from their default dark shade.
*/
inverse?: boolean;
/**
* Sets the color context of the progress bar to one of CoreUI’s themed colors.
*
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
*/
progress?: CProgressProps;
/**
* Title node for your component.
*/
title?: string | ReactNode;
/**
* Helper text for your component.
*/
text?: string;
/**
* Value node for your component.
*/
value?: string | number | ReactNode;
}
export declare const CWidgetStatsB: React.ForwardRefExoticComponent<CWidgetStatsBProps & React.RefAttributes<HTMLDivElement>>;