moderator-toolbox-nxg-for-reddit / modules/shared/removalReasons/DeliveryOption
modules/shared/removalReasons/DeliveryOption¶
Functions¶
makeDeliveryOption()¶
makeDeliveryOption(
baseClass,selectedClass): (__namedParameters) =>Element
Defined in: extension/data/modules/shared/removalReasons/DeliveryOption.tsx:15
Creates a delivery-option row component bound to a CSS module’s class names. The returned
component renders a row that visually highlights when selected, so each panel reuses the
shared markup while keeping its own styling.
Parameters¶
baseClass¶
string | undefined
The always-applied row class.
selectedClass¶
string | undefined
The class applied additionally when the row is selected.
Returns¶
A DeliveryOption component taking selected and children.
(__namedParameters) => Element