updates Readme (mentions dict support under standard data types)

This commit is contained in:
Mose Müller 2024-04-30 13:02:58 +02:00
parent 4d442cfadc
commit e2f94c8a28

View File

@ -223,6 +223,7 @@ In `pydase`, components are fundamental building blocks that bridge the Python b
- `int` and `float`: Manifested as the `NumberComponent`. - `int` and `float`: Manifested as the `NumberComponent`.
- `bool`: Rendered as a `ButtonComponent`. - `bool`: Rendered as a `ButtonComponent`.
- `list`: Each item displayed individually, named after the list attribute and its index. - `list`: Each item displayed individually, named after the list attribute and its index.
- `dict`: Each key-value pair displayed individually, named after the dictionary attribute and its key. **Note** that the dictionary keys must be strings.
- `enum.Enum`: Presented as an `EnumComponent`, facilitating dropdown selection. - `enum.Enum`: Presented as an `EnumComponent`, facilitating dropdown selection.
### Method Components ### Method Components