1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9470],{9470:(e,l,s)=>{s.r(l),s.d(l,{default:()=>n});var a=s(95155);s(12115);var t=s(97003);function n(e){let{data:l}=e;return(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(t.Button,{className:"px-4 py-2 bg-brand-primary text-white rounded",children:"Action 1"}),(0,a.jsx)(t.Button,{variant:"outline",className:"px-4 py-2 bg-text-stroke text-text-primary rounded",children:"Action 2"})]}),l&&(0,a.jsx)("div",{className:"text-sm text-text-placeholder",children:(0,a.jsxs)("p",{children:["Custom data: ",JSON.stringify(l)]})}),(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("p",{children:"This is an example modal that can be used as both a dialog and drawer."}),(0,a.jsx)("p",{children:"It receives data through the data prop and can be customized as needed."})]}),(0,a.jsxs)("div",{className:"flex gap-2 pt-4 border-t",children:[(0,a.jsx)(t.Button,{variant:"outline",size:"sm",onClick:()=>{var e;null==l||null==(e=l.closeModal)||e.call(l)},className:"flex-1",children:"Close This Modal"}),(0,a.jsx)(t.Button,{variant:"outline",size:"sm",onClick:()=>{var e;null==l||null==(e=l.closeModalsByType)||e.call(l,"example")},className:"flex-1",children:"Close All Example Modals"}),(0,a.jsx)(t.Button,{variant:"destructive",size:"sm",onClick:()=>{var e;null==l||null==(e=l.closeAllModals)||e.call(l)},className:"flex-1",children:"Close All Modals"})]})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.