Private
Public Access
1
0
Files
power-apps-codeapps-blog-part2/node_modules/@fluentui/react-toast/lib/components/ToastContainer/ToastContainer.js

17 lines
880 B
JavaScript

'use client';
import * as React from 'react';
import { useToastContainer_unstable } from './useToastContainer';
import { renderToastContainer_unstable } from './renderToastContainer';
import { useToastContainerStyles_unstable } from './useToastContainerStyles.styles';
import { useToastContainerContextValues_unstable } from './useToastContainerContextValues';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
/**
* ToastContainer component
*/ export const ToastContainer = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useToastContainer_unstable(props, ref);
useToastContainerStyles_unstable(state);
useCustomStyleHook_unstable('useToastContainerStyles_unstable')(state);
return renderToastContainer_unstable(state, useToastContainerContextValues_unstable(state));
});
ToastContainer.displayName = 'ToastContainer';