@payfit/unity-components
Version:
18 lines (17 loc) • 641 B
TypeScript
import { TextProps } from '../../text/Text.js';
type ContentElements = 'div' | 'p' | 'span';
export type AlertContentProps = Omit<TextProps, 'variant' | 'color' | 'className'> & {
/**
* The underlying HTML element to render the title as.
* @default 'p'
*/
asElement?: ContentElements;
};
declare const AlertContent: import('react').ForwardRefExoticComponent<Omit<TextProps, "color" | "className" | "variant"> & {
/**
* The underlying HTML element to render the title as.
* @default 'p'
*/
asElement?: ContentElements;
} & import('react').RefAttributes<HTMLDivElement>>;
export { AlertContent };