1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-17 21:51:53 +03:00

feat(bridge/python): add Icon component

This commit is contained in:
Théo LUDWIG 2023-12-12 19:38:33 +01:00
parent dfb9b81c8b
commit 1a89eec108
No known key found for this signature in database
GPG Key ID: ADFE5A563D718F3B

View File

@ -0,0 +1,11 @@
from typing import TypedDict
from ..widget_component import WidgetComponent
class IconProps(TypedDict, total=False):
pass
class Icon(WidgetComponent[IconProps]):
def __init__(self, props: IconProps):
super().__init__(props)