"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[5354],{65802:(u,o,n)=>{n.r(o),n.d(o,{TestStuffPage:()=>i,default:()=>g});var t=n(74848),_=n(4402),c=n(80882),d=n(67061),r=n(55852),E=n(21780),f=n(3169);const i=()=>{const e={id:"test-page",text:"Test page",icon:"dashboard",subTitle:"FOR TESTING!",url:"sandbox/test"},a=(0,f._2)();return(0,t.jsx)(E.YW,{navModel:{node:e,main:e},children:(0,t.jsxs)(d.B,{children:[(0,t.jsx)(l,{extensionPointId:"grafana/sandbox/testing"}),(0,t.jsx)(r.$n,{onClick:()=>a.success("Success toast","some more text goes here"),variant:"primary",children:"Success"}),(0,t.jsx)(r.$n,{onClick:()=>a.warning("Warning toast","some more text goes here","bogus-trace-99999"),variant:"secondary",children:"Warning"}),(0,t.jsx)(r.$n,{onClick:()=>a.error("Error toast","some more text goes here","bogus-trace-fdsfdfsfds"),variant:"destructive",children:"Error"})]})})};function l({extensionPointId:e}){const{extensions:a}=(0,_.O3)({extensionPointId:e});return a.length===0?null:(0,t.jsx)("div",{children:a.map((s,P)=>(0,c.D)(s)?(0,t.jsx)(r.z9,{href:s.path,title:s.description,children:s.title},s.id):null)})}const g=i}}]);

//# sourceMappingURL=TestStuffPage.6b3b9a12c257089c804f.js.map