import{r as e,h as n}from"./p-0d5a2e05.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:"08b6f32a7a260c681346e9bc72fb9e614081c39c",style:{width:"743px",display:"flex",flexDirection:"column",gap:"123px",margin:"10px"}},n("dga-codesnippet",{key:"ddacb20be431bc6246874fefa8235e8714333459",showButton:true,type:"multi-line",showSidebar:true,showTabList:true,snippets:this.snippets}),n("dga-codesnippet",{key:"b283fa1a33a64a40592479745fa5bd8b4b4368a7",showButton:false,type:"single",showSidebar:false,showTabList:false,snippets:this.snippetLine}))}};export{t as dga_codesnippet_usage};
//# sourceMappingURL=p-4b6a0868.entry.js.map