liber-salti
Version:
Saltí - Liber Design System
25 lines (24 loc) • 598 B
TypeScript
import React from 'react';
export declare type SeverityType = 'error' | 'info' | 'success' | 'warning';
export interface AlertProps {
/**
* Color of the component.
*/
severity: SeverityType;
/**
* Style of the component.
*/
variant?: 'standard' | 'outlined';
/**
* Title of the component.
*/
title?: string;
/**
* Description of the component.
*/
description: React.ReactNode;
/**
* Actions of the component, only accepts Buttons and IconButtons.
*/
actions?: React.ReactElement[];
}