box-ui-elements-mlh
Version:
15 lines (11 loc) • 326 B
JavaScript
// @flow
import * as React from 'react';
import InlineNotice from '../inline-notice';
type Props = {
children: React.Node,
className?: string,
/** Title of the inline error. */
title: React.Node,
};
const InlineError = (props: Props) => <InlineNotice {...props} type="error" />;
export default InlineError;