Skip to content

Commit 58d3ec1

Browse files
committed
avatar props
1 parent d22c986 commit 58d3ec1

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

reflex_ui/components/base/avatar.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,6 @@ class HighLevelAvatar(AvatarRoot):
9090
# The image source URL
9191
src: Var[str]
9292

93-
# Callback when loading status changes
94-
on_loading_status_change: EventHandler[passthrough_event_spec(str)]
95-
96-
# How long to wait before showing the fallback. Specified in milliseconds
97-
delay: Var[int]
98-
9993
# Image props
10094
_image_props = {"src", "on_loading_status_change", "render_"}
10195

reflex_ui/components/base/avatar.pyi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ class HighLevelAvatar(AvatarRoot):
191191
cls,
192192
*children,
193193
src: Var[str] | str | None = None,
194-
delay: Var[int] | int | None = None,
195194
render_: Component | Var[Component] | None = None,
196195
unstyled: Var[bool] | bool | None = None,
197196
style: Sequence[Mapping[str, Any]]
@@ -209,7 +208,6 @@ class HighLevelAvatar(AvatarRoot):
209208
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
210209
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
211210
on_focus: EventType[()] | None = None,
212-
on_loading_status_change: EventType[()] | EventType[str] | None = None,
213211
on_mount: EventType[()] | None = None,
214212
on_mouse_down: EventType[()] | None = None,
215213
on_mouse_enter: EventType[()] | None = None,
@@ -235,7 +233,6 @@ class Avatar(ComponentNamespace):
235233
def __call__(
236234
*children,
237235
src: Var[str] | str | None = None,
238-
delay: Var[int] | int | None = None,
239236
render_: Component | Var[Component] | None = None,
240237
unstyled: Var[bool] | bool | None = None,
241238
style: Sequence[Mapping[str, Any]]
@@ -253,7 +250,6 @@ class Avatar(ComponentNamespace):
253250
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
254251
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
255252
on_focus: EventType[()] | None = None,
256-
on_loading_status_change: EventType[()] | EventType[str] | None = None,
257253
on_mount: EventType[()] | None = None,
258254
on_mouse_down: EventType[()] | None = None,
259255
on_mouse_enter: EventType[()] | None = None,

0 commit comments

Comments
 (0)