feat:enhance layoutConfig
This commit is contained in:
14
doric-demo/src/components/PreferenceView.ts
Normal file
14
doric-demo/src/components/PreferenceView.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { hlayout, HLayout, layoutConfig, ViewComponent } from "doric";
|
||||
|
||||
@ViewComponent
|
||||
export class PreferenceView extends HLayout {
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
hlayout(
|
||||
[],
|
||||
{
|
||||
layoutConfig: layoutConfig(),
|
||||
}).in(this)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user