18 lines
464 B
TypeScript
18 lines
464 B
TypeScript
|
import { html } from '@design.estate/dees-element';
|
||
|
|
||
|
export const demoFunc = () => html` <style>
|
||
|
.demoWrapper {
|
||
|
box-sizing: border-box;
|
||
|
position: absolute;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
padding: 20px;
|
||
|
background: none;
|
||
|
}
|
||
|
</style>
|
||
|
<div class="demoWrapper">
|
||
|
<dees-dataview-codebox proglang="typescript">
|
||
|
import * as text from './hello'; const hiThere = 'nice'; const myFunction = async () => {
|
||
|
console.log('nice one'); }
|
||
|
</dees-dataview-codebox>
|
||
|
</div>`
|