File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
reflex_ui/components/base Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,10 @@ class SelectTrigger(SelectBaseComponent):
140140 # Whether the component should ignore user interaction. Defaults to False.
141141 disabled : Var [bool ]
142142
143+ # Whether the component renders a native <button> element when replacing it via the render prop.
144+ # Set to False if the rendered element is not a button (e.g. <div>). Defaults to True.
145+ native_button : Var [bool ]
146+
143147 # The render prop
144148 render_ : Var [Component ]
145149
Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ class SelectTrigger(SelectBaseComponent):
149149 cls ,
150150 * children ,
151151 disabled : Var [bool ] | bool | None = None ,
152+ native_button : Var [bool ] | bool | None = None ,
152153 render_ : Component | Var [Component ] | None = None ,
153154 unstyled : Var [bool ] | bool | None = None ,
154155 style : Sequence [Mapping [str , Any ]]
You can’t perform that action at this time.
0 commit comments