moderator-toolbox-nxg-for-reddit / modules/config/components/AddNewButton modules/config/components/AddNewButton¶ Functions¶ AddNewButton()¶ AddNewButton(__namedParameters): Element Defined in: extension/data/modules/config/components/AddNewButton.tsx:27 Renders a primary “add” button with a circle-plus icon. Exposes a disabledRef so the parent can disable the button while an async add is pending, and a triggerRef so the parent can invoke the add action imperatively. Parameters¶ __namedParameters¶ Props Returns¶ Element