liber-salti
Version:
Saltí - Liber Design System
19 lines (18 loc) • 415 B
TypeScript
import React from 'react';
import { SeverityType } from '../Alert/Alert.types';
export declare type BannerColors = {
text: string;
icon: string;
border: string;
background: string;
};
export interface BannerProps {
/**
* Color of the component.
*/
color?: SeverityType | 'admin';
/**
* Content of the component.
*/
children?: React.ReactNode;
}