spartan-ui
Version:
React component library that focusses on getting the basics right leaving the design up to you
10 lines (9 loc) • 395 B
TypeScript
import { FunctionComponent } from 'react';
import { CommonProps } from '../../types';
interface AlertProps extends CommonProps {
/** For noncritical notifications, set this to queue the message to be read
* when possible instead of it being read immediately by the screenreader */
minor: boolean;
}
declare const Alert: FunctionComponent<AlertProps>;
export default Alert;