"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[5354],{66964:(P,e,n)=>{n.r(e),n.d(e,{TestStuffPage:()=>i,default:()=>u});var t=n(74848),_=n(58820),c=n(71792),E=n(45565),d=n(48583),r=n(54594),f=n(54122),l=n(17687);const i=()=>{const o={id:"test-page",text:"Test page",icon:"dashboard",subTitle:"FOR TESTING!",url:"sandbox/test"},a=(0,l._2)();return(0,t.jsxs)(f.Y,{navModel:{node:o,main:o},children:[(0,t.jsx)(g,{extensionPointId:"grafana/sandbox/testing"}),(0,t.jsx)(E.E,{variant:"h5",children:"Application notifications (toasts) testing"}),(0,t.jsxs)(d.B,{children:[(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 g({extensionPointId:o}){const{extensions:a}=(0,_.O3)({extensionPointId:o});return a.length===0?null:(0,t.jsx)("div",{children:a.map((s,h)=>(0,c.D)(s)?(0,t.jsx)(r.z9,{href:s.path,title:s.description,children:s.title},s.id):null)})}const u=i}}]);

//# sourceMappingURL=TestStuffPage.c639696408f484aa1c2c.js.map