react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

Add support for rendering FloatingButton secondary button standalone

Open adids1221 opened this issue 1 month ago • 0 comments

Description

Adds support for rendering FloatingButton component with only the secondary button. When secondaryButton is provided without button prop, the component now renders the secondary button with horizontal layout styling and outline stroke. Added isSecondaryOnly getter to detect this state and shouldSecondaryButtonFlex getter to handle flex behavior. Fixed fullWidth margin consistency for secondary button when rendered alone to ensure proper centering with equal horizontal margins using marginHorizontal: Spacings.s5.

Changelog

FloatingButton - Added support for rendering secondary button standalone.

Additional info

Support channel slack thread

adids1221 avatar Dec 14 '25 13:12 adids1221