@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
11 lines (10 loc) • 503 B
TypeScript
import * as React from 'react';
import { SxProp } from '../../system';
import { ColorScales } from '../../theme';
import { ChildrenProp, HTMLAttributes, LiteralUnion } from '../../types';
export declare type AlertColors = ColorScales;
export interface AlertProps extends HTMLAttributes, ChildrenProp, SxProp {
/** Color of the alert. */
color?: LiteralUnion<AlertColors>;
}
export declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;