11 lines
226 B
JavaScript
11 lines
226 B
JavaScript
|
import Component from "@glimmer/component";
|
||
|
|
||
|
export default class EnumInfo extends Component {
|
||
|
get enuminfo() {
|
||
|
return Object.entries(this.args.col.enum).map(([value, name]) => ({
|
||
|
value,
|
||
|
name,
|
||
|
}));
|
||
|
}
|
||
|
}
|