Skip to content

Instantly share code, notes, and snippets.

@evnchn
Created March 9, 2025 20:16
Show Gist options
  • Select an option

  • Save evnchn/c1eb27c001dd9fffe08419d04e73c8a6 to your computer and use it in GitHub Desktop.

Select an option

Save evnchn/c1eb27c001dd9fffe08419d04e73c8a6 to your computer and use it in GitHub Desktop.
from nicegui.element import Element
class MyRowSoftload(Element, component='my_row_softload.js'):
def __init__(self, *, day_texts=[], day_checked=[]) -> None:
super().__init__()
self._props["day_texts"] = day_texts
self._props["day_checked"] = day_checked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment