import{K as c,r as t,j as e,L as p}from"./app-D_lWdAF1.js";import{B as d,A as x}from"./Add-B_lToW0R.js";import{G as r}from"./grid-view-DFp2PvPX.js";import{A as u,T as f}from"./alert-box-CSO11xje.js";import{A as j}from"./app-layout-DBWaGSby.js";import"./app-gFGt7Tbg.js";import"./app-logo-icon-B18IWF-o.js";import"./slots-DhmpWYGS.js";import"./Typography-D06EX7-K.js";import"./index--DsFJTFe.js";import"./index-DKsctv8k.js";const h=[{title:"Interior Designers",href:"/interior-designers"}];function y({columns:s=[],dataset:o=[]}){const{flash:i}=c().props,[n,a]=t.useState([]),[l,m]=t.useState([]);return t.useEffect(()=>{a(s),m(o)},[s,o]),e.jsxs(j,{breadcrumbs:h,children:[e.jsx(p,{title:"Interior Designers"}),e.jsx(u,{flash:i}),e.jsxs(r,{title:"Interior Designers",children:[e.jsx(r.Title,{children:"Interior Designers"}),e.jsx(r.Action,{children:e.jsx(d,{href:route("interior-designers.create"),startIcon:e.jsx(x,{}),children:"Add"})}),e.jsx(r.Body,{children:e.jsx(f,{columns:n,dataset:l,showSelection:!0})})]})]})}export{y as default};
