"use strict";const e=require("react/jsx-runtime"),p=require("react"),j=require("./toast-container.cjs"),a=require("./toast-item.cjs"),q=(o=[])=>o.map((t,s)=>({...t,id:t.id??s})),n=({container:o,containerProps:t,options:s=[],placement:i,position:r,...c})=>{const m=p.useMemo(()=>q(s),[s]);return o?e.jsx(j.ToastContainer,{...t,placement:i,position:r,children:m.map(({id:u,...T})=>e.jsx(a.ToastItem,{...T},u))}):e.jsx(a.ToastItem,{...c})};n.displayName="BRL.Toast";exports.Toast=n;
//# sourceMappingURL=toast.cjs.map
