feat: creating components module, adding docstrings

This commit is contained in:
Mose Müller
2023-08-02 12:06:21 +02:00
parent 21eb7d4c26
commit b68cb4d309
3 changed files with 80 additions and 16 deletions

View File

@ -1,16 +0,0 @@
from .data_service import DataService
class NumberSlider(DataService):
def __init__(
self,
value: float | int = 0,
min: int = 0,
max: int = 100,
step_size: float = 1.0,
) -> None:
self.min = min
self.max = max
self.value = value
self.step_size = step_size
super().__init__()