add placeholderView component
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
export function PlaceholderView(text: string) {
|
||||
return (
|
||||
<div class="width-100 height-100 flex-column justify-center align-center">
|
||||
<span class="secondary slide-up">{text}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -9,7 +9,11 @@ export function SplitModal(
|
||||
navigationState?: React.State<any>,
|
||||
) {
|
||||
const view = (
|
||||
<div class="split-modal" toggle:extended={extendedStyle} toggle:primitive={navigationState == undefined}>
|
||||
<div
|
||||
class="split-modal"
|
||||
toggle:extended={extendedStyle}
|
||||
toggle:primitive={navigationState == undefined}
|
||||
>
|
||||
<div>
|
||||
<div class="scroll-area" children:set={leftView}></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user