delete accidentally committed file
This commit is contained in:
parent
99cd7b1a01
commit
f053551f89
1 changed files with 0 additions and 29 deletions
29
temp.py
29
temp.py
|
@ -1,29 +0,0 @@
|
|||
from fastapi import FastAPI
|
||||
|
||||
from reactpy import html, web
|
||||
from reactpy.backend.fastapi import configure
|
||||
|
||||
mui = web.module_from_template(
|
||||
"react",
|
||||
"@mui/x-date-pickers",
|
||||
fallback="please wait loading...",
|
||||
)
|
||||
|
||||
|
||||
# Create calendar with material ui
|
||||
DatePicker = web.export(mui, "DatePicker")
|
||||
|
||||
|
||||
def Mycalender():
|
||||
return html.div(
|
||||
DatePicker(
|
||||
{
|
||||
"label": "Basic date picker",
|
||||
},
|
||||
"my calender",
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
app = FastAPI()
|
||||
configure(app, Mycalender)
|
Loading…
Reference in a new issue