reablocks
Version:
Component library for React
23 lines (21 loc) • 511 B
TypeScript
import { CalloutTheme } from './CalloutTheme';
import { FC, ReactNode } from 'react';
export interface CalloutProps {
/**
* The text of the callout.
*/
text: string | ReactNode;
/**
* The icon of the callout.
*/
icon?: ReactNode;
/**
* The variant of the callout.
*/
variant?: 'default' | 'success' | 'error' | 'warning' | 'info';
/**
* The theme of the callout.
*/
theme?: CalloutTheme;
}
export declare const Callout: FC<CalloutProps>;