first commit

This commit is contained in:
编码猿
2024-09-27 01:01:17 +08:00
commit 14b8ae24fa
198 changed files with 22193 additions and 0 deletions

View File

@@ -0,0 +1 @@
126b9e6a-6167-4ab9-8404-6c546f66fba6

View File

@@ -0,0 +1,5 @@
command: ""
render: ->
'this is a broken widget'
'unexpected indentation'

View File

@@ -0,0 +1,3 @@
refreshFrequency: 1000
render: (output) -> output

View File

@@ -0,0 +1 @@
3d8f802f-b31a-4e65-b7df-87a88645cd2c

View File

@@ -0,0 +1,2 @@
command: "do stuff"
refreshFrequency: 3000

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@@ -0,0 +1,14 @@
command: "foo"
refreshFrequency: 1000
style: """
bottom: 10px
left: 100px
div
font-size: 12px
"""
render: (output) ->
output

View File

@@ -0,0 +1,2 @@
command: "bar",
refreshFrequency: 1020

View File

@@ -0,0 +1,13 @@
export const command = "echo Hello World!"
export const refreshFrequency = 5000 // ms
export const render = ({ output }) => (
<h1>{output}</h1>
)
export const className = `
left: 20px
top: 20px
color: #fff
`