@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
29 lines (28 loc) • 800 B
TypeScript
/**
* CalloutAlert module.
* @module @massds/mayflower-react/CalloutAlert
* @requires module:@massds/mayflower-assets/scss/03-organisms/callout-alert
*/
import React from 'react';
export interface CalloutAlertProps {
icon?: {
name?: string;
title?: string;
width?: string | number;
height?: string | number;
className?: string;
fill?: string;
};
/** Themes correspond to site color scheme i.e. sass variables */
theme?: "" | "c-primary" | "c-primary-alt" | "c-highlight" | "c-gray-dark" | "c-error-red";
children?: React.ReactElement | unknown[];
}
declare const CalloutAlert: {
(props: CalloutAlertProps): any;
defaultProps: {
icon: {
name: string;
};
};
};
export default CalloutAlert;