You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To-do: support usage like this below where the user can different types of strings, inherited from the str type and associated with different UI components.
importfunix@funix.new_funix_type(widget=[# "MUI-TextField", "textarea", {"min":10, "max":20 ,"multiline":True} # props of TextField in MUI ])classlong_str(str):
passtype="password"@funix.new_funix_type(
widget=[
# "MUI-TextField", "input",
{"type":"password"} # props of TextField in MUI
]
) # Coming soon! classpassword(str): # For this type of strings, the content will be hidden unless revealedpass@funix.funix()deffoo(x: long_str, y: password) ->str:
returnf"{x}{y}"
The text was updated successfully, but these errors were encountered:
To-do: support usage like this below where the user can different types of strings, inherited from the
str
type and associated with different UI components.The text was updated successfully, but these errors were encountered: