@@ -176,6 +176,84 @@ class CommonMarginProps(Component):
176176 """
177177 ...
178178
179+ class RadixLoadingProp (Component ):
180+ @overload
181+ @classmethod
182+ def create ( # type: ignore
183+ cls ,
184+ * children ,
185+ loading : Optional [Union [Var [bool ], bool ]] = None ,
186+ style : Optional [Style ] = None ,
187+ key : Optional [Any ] = None ,
188+ id : Optional [Any ] = None ,
189+ class_name : Optional [Any ] = None ,
190+ autofocus : Optional [bool ] = None ,
191+ custom_attrs : Optional [Dict [str , Union [Var , str ]]] = None ,
192+ on_blur : Optional [
193+ Union [EventHandler , EventSpec , list , function , BaseVar ]
194+ ] = None ,
195+ on_click : Optional [
196+ Union [EventHandler , EventSpec , list , function , BaseVar ]
197+ ] = None ,
198+ on_context_menu : Optional [
199+ Union [EventHandler , EventSpec , list , function , BaseVar ]
200+ ] = None ,
201+ on_double_click : Optional [
202+ Union [EventHandler , EventSpec , list , function , BaseVar ]
203+ ] = None ,
204+ on_focus : Optional [
205+ Union [EventHandler , EventSpec , list , function , BaseVar ]
206+ ] = None ,
207+ on_mount : Optional [
208+ Union [EventHandler , EventSpec , list , function , BaseVar ]
209+ ] = None ,
210+ on_mouse_down : Optional [
211+ Union [EventHandler , EventSpec , list , function , BaseVar ]
212+ ] = None ,
213+ on_mouse_enter : Optional [
214+ Union [EventHandler , EventSpec , list , function , BaseVar ]
215+ ] = None ,
216+ on_mouse_leave : Optional [
217+ Union [EventHandler , EventSpec , list , function , BaseVar ]
218+ ] = None ,
219+ on_mouse_move : Optional [
220+ Union [EventHandler , EventSpec , list , function , BaseVar ]
221+ ] = None ,
222+ on_mouse_out : Optional [
223+ Union [EventHandler , EventSpec , list , function , BaseVar ]
224+ ] = None ,
225+ on_mouse_over : Optional [
226+ Union [EventHandler , EventSpec , list , function , BaseVar ]
227+ ] = None ,
228+ on_mouse_up : Optional [
229+ Union [EventHandler , EventSpec , list , function , BaseVar ]
230+ ] = None ,
231+ on_scroll : Optional [
232+ Union [EventHandler , EventSpec , list , function , BaseVar ]
233+ ] = None ,
234+ on_unmount : Optional [
235+ Union [EventHandler , EventSpec , list , function , BaseVar ]
236+ ] = None ,
237+ ** props
238+ ) -> "RadixLoadingProp" :
239+ """Create the component.
240+
241+ Args:
242+ *children: The children of the component.
243+ loading: If set, show an rx.spinner instead of the component children.
244+ style: The style of the component.
245+ key: A unique key for the component.
246+ id: The id for the component.
247+ class_name: The class name for the component.
248+ autofocus: Whether the component should take the focus once the page is loaded
249+ custom_attrs: custom attribute
250+ **props: The props of the component.
251+
252+ Returns:
253+ The component.
254+ """
255+ ...
256+
179257class RadixThemesComponent (Component ):
180258 @overload
181259 @classmethod
0 commit comments