Route

class seamless.components.router.Route

Inherits from Component.

Methods

__init__(self, path: str, component: type[Component])
Parameters:
  • path (string) – The path of the page

  • component (Component) – The component to render when the path is matched