import { jsx as _jsx } from "react/jsx-runtime";
import { useStyleConfig, vui } from '../core';
import { T } from '../t';
import { cs } from '../utils';
import { useNotificationContext } from './context';
/** Displays a title within the Notification. */
export const NotificationTitle = vui((props, ref) => {
    const { className, ...rest } = props;
    const styles = useStyleConfig('Notification', useNotificationContext());
    return (_jsx(T, { className: cs('vui-notificationTitle', className), fontWeight: "demi", ref: ref, ...styles.title, ...rest }));
});
NotificationTitle.displayName = 'NotificationTitle';
export default NotificationTitle;
//# sourceMappingURL=notificationTitle.js.map