Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import * as React from 'react';
import { renderAlert_unstable } from './renderAlert';
import { useAlert_unstable } from './useAlert';
import { useAlertStyles_unstable } from './useAlertStyles.styles';
/**
* @deprecated please use the Toast or MessageBar component
* An Alert component displays a brief, important message to attract a user's attention
* without interrupting their current task.
*/ // eslint-disable-next-line deprecation/deprecation
export const Alert = /*#__PURE__*/ React.forwardRef((props, ref)=>{
// eslint-disable-next-line deprecation/deprecation
const state = useAlert_unstable(props, ref);
// eslint-disable-next-line deprecation/deprecation
useAlertStyles_unstable(state);
// eslint-disable-next-line deprecation/deprecation
return renderAlert_unstable(state);
// eslint-disable-next-line deprecation/deprecation
});
// eslint-disable-next-line deprecation/deprecation
Alert.displayName = 'Alert';