import{r as e,h as a}from"./p-0d5a2e05.js";const d=class{constructor(a){e(this,a);this.variant="neutral";this.rating=2.5}render(){return a("div",{key:"bb0a4f5e92111881df24c2b2d8d18ec8a298b5fa"},a("h1",{key:"76e20eb97d952e189b424345052097a76d72b247"},"Rating Example"),a("div",{key:"6c9281265a3c7a042585a913143c14428ee46fd3",style:{padding:"50px",display:"flex",gap:"20px"}},a("div",{key:"c9e36168aa81ff57b28713715931f54ee550fa1d",style:{display:"flex",flexDirection:"column",gap:"20px"}},a("button",{key:"8977cc6f84f4b50d46dc984afa2dfce7c5a1e9bc",onClick:()=>this.rating+=1},"Increase ",this.rating),a("dga-rating",{key:"7993fe4cc290e20200ffb4f95bfe0879c0bfcc28",onChange:e=>{this.rating=e},value:this.rating,size:"lg"}),a("dga-rating",{key:"c3b629ab06fbaf417c9def8a2dd4c516f9ed86d5",onChange:e=>this.rating=e,value:2.5,size:"md"}),a("dga-rating",{key:"c3f32eafed8099783488b8e800039205dac27081",onChange:e=>this.rating=e,value:this.rating,size:"sm"})),a("div",{key:"9cb6872e82eedbe1369d83db2ef00444bbb7d86b",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}};export{d as dga_rating_usage};
//# sourceMappingURL=p-261b48d6.entry.js.map