ProgressBar.tsx
18 lines
| 596 B
| text/x-typescript
|
TypeScriptLexer
cin
|
r100 | import { djbase, djclass } from "@implab/djx/declare"; | |
import { createElement } from "@implab/djx/tsx"; | |||
import { DjxWidgetBase } from "@implab/djx/tsx/DjxWidgetBase"; | |||
import "@implab/djx/css!./css/ProgressBar.css"; | |||
@djclass | |||
export default class ProgressBar extends djbase(DjxWidgetBase) { | |||
constructor(opts?: Partial<ProgressBar> & ThisType<ProgressBar>, refNode?: Node | string) { | |||
super(opts, refNode); | |||
} | |||
render() { | |||
return <div class="progress-bar"> | |||
<div class="progress-indicator"/> | |||
<div class="progress-track"/> | |||
</div>; | |||
} | |||
} |