import{r as e,h as n}from"./p-D0dWnGvB.js";const t=class{constructor(n){e(this,n),this.snippets={JavaScript:"// Imports\nimport mongoose, { Schema } from 'untitled'\n\n// Collection name\nexport const collection = 'Design'|\n\n// Schema\nconst schema = new Schema({\n  name: {\n    type: String,\n    required: true\n  },\n\n  description: {\n    type: String\n  }\n}, {timestamps: true})\n\n// Model\nexport default untitled.model(collection, schema, collection)\n        ",HTML:"<div>\n <h1>Hello, HTML!</h1>\n</div>",CSS:"body {\n    background-color: lightblue;\n  }\n    \nh1 {\n  color: navy;\n  margin-left: 20px;\n}"},this.snippetLine={JavaScript:"npm install nds-design-system@^0.0.1"}}render(){return n("div",{key:"e23fe50db23571bd4da8604782e7e787ee71f8d2",style:{width:"743px",display:"flex",flexDirection:"column",gap:"123px",margin:"10px"}},n("dga-codesnippet",{key:"66c73f215822aba0edfdf11b30604b8729c16460",showButton:!0,type:"multi-line",showSidebar:!0,showTabList:!0,snippets:this.snippets}),n("dga-codesnippet",{key:"7a0b424e36c70355b356cd63539b9c76ddc80c3e",showButton:!1,type:"single",showSidebar:!1,showTabList:!1,snippets:this.snippetLine}))}};export{t as dga_codesnippet_usage}