Component#

class seamless.Component#

The base class for all components.

__init__(*children: ChildType, **props: Any)#
Parameters:
  • children (ChildrenType) – The children of the component

  • props (PropsType) – The props of the component

abstract render(self) RenderResult#

Renders the component.
This method is an abstract method that must be implemented by the subclass.

Return type:

RenderResult