Files
2025-03-07 19:22:02 +01:00

14 lines
711 B
JavaScript

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';
/**
* ToastContainer component
*/ export const ToastContainer = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useToastContainer_unstable(props, ref);
useToastContainerStyles_unstable(state);
return renderToastContainer_unstable(state, useToastContainerContextValues_unstable(state));
});
ToastContainer.displayName = 'ToastContainer';